Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation is wrong about behavior of core.register_on_leaveplayer #15702

Open
mruncreative opened this issue Jan 22, 2025 · 0 comments
Open
Labels
@ Script API Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible

Comments

@mruncreative
Copy link

mruncreative commented Jan 22, 2025

https://api.luanti.org/core-namespace-reference/

core.register_on_leaveplayer(function(ObjectRef, timed_out))
Does not get executed for connected players on shutdown.

However in my experience it does get executed on shutdown. At least in singleplayer. This should be clarified or removed if entirely wrong.

@Zughy Zughy added the Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ Script API Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible
Projects
None yet
Development

No branches or pull requests

3 participants