1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Mainmenu: Move core.on_before_close to s_mainmenu like other callbacks, and doc

This commit is contained in:
Desour 2025-04-20 21:57:38 +02:00 committed by sfan5
parent 2c83c67b7d
commit 4a8f84b259
6 changed files with 31 additions and 20 deletions

View file

@ -25,6 +25,8 @@ Callbacks
* `core.event_handler(event)`
* `event`: `"MenuQuit"`, `"KeyEnter"`, `"ExitButton"`, `"EditBoxEnter"` or
`"FullscreenChange"`
* `core.on_before_close()`: called before the menu is closed, either to exit or
to join a game
Gamedata