mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 08:05:18 +02:00
Mainmenu: Move core.on_before_close to s_mainmenu like other callbacks, and doc
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user