mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-10 19:32:10 +00:00
Mainmenu: Move core.on_before_close to s_mainmenu like other callbacks, and doc
This commit is contained in:
parent
2c83c67b7d
commit
4a8f84b259
6 changed files with 31 additions and 20 deletions
|
@ -27,4 +27,9 @@ public:
|
|||
* @param fields data in field format
|
||||
*/
|
||||
void handleMainMenuButtons(const StringMap &fields);
|
||||
|
||||
/**
|
||||
* Called before the menu is closed, either to exit or to join a game
|
||||
*/
|
||||
void beforeClose();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue