mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option
This commit is contained in:
@@ -480,7 +480,6 @@ void Application::registerLuaFunctions()
|
||||
|
||||
// Application
|
||||
g_lua.registerSingletonClass("g_app");
|
||||
g_lua.bindSingletonFunction("g_app", "exit", &Application::exit, &g_app);
|
||||
g_lua.bindSingletonFunction("g_app", "setForegroundPaneMaxFps", &Application::setForegroundPaneMaxFps, &g_app);
|
||||
g_lua.bindSingletonFunction("g_app", "setBackgroundPaneMaxFps", &Application::setBackgroundPaneMaxFps, &g_app);
|
||||
g_lua.bindSingletonFunction("g_app", "setName", &Application::setName, &g_app);
|
||||
|
||||
Reference in New Issue
Block a user