mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add allow_close[]
element to formspecs (#15971)
This commit is contained in:
@@ -205,6 +205,9 @@ void GameFormSpec::init(Client *client, RenderingEngine *rendering_engine, Input
|
||||
m_input = input;
|
||||
m_pause_script = std::make_unique<PauseMenuScripting>(client);
|
||||
m_pause_script->loadBuiltin();
|
||||
|
||||
// Make sure any remaining game callback requests are cleared out.
|
||||
*g_gamecallback = MainGameCallback();
|
||||
}
|
||||
|
||||
void GameFormSpec::deleteFormspec()
|
||||
|
Reference in New Issue
Block a user