mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
[CSM] Don't load the IO library. (#6087)
* [CSM] Don't load the IO library. * Rename the function to match the Lua API function name and add a missing `const` * Add a comment to explain some strange code and fix the other issues pointed out by shadowninja.
This commit is contained in:
@@ -34,10 +34,10 @@ extern "C" {
|
||||
#define MAINMENU_NUM_ASYNC_THREADS 4
|
||||
|
||||
|
||||
MainMenuScripting::MainMenuScripting(GUIEngine* guiengine)
|
||||
MainMenuScripting::MainMenuScripting(GUIEngine* guiengine):
|
||||
ScriptApiBase(ScriptingType::MainMenu)
|
||||
{
|
||||
setGuiEngine(guiengine);
|
||||
setType(ScriptingType::MainMenu);
|
||||
|
||||
SCRIPTAPI_PRECHECKHEADER
|
||||
|
||||
|
Reference in New Issue
Block a user