mirror of
https://github.com/edubart/otclient.git
synced 2025-12-17 06:07:11 +01:00
Started implementing ability to load custom config files (currently unstable).
Feel free to help out with this if you like :)
This commit is contained in:
@@ -126,7 +126,10 @@ void Application::terminate()
|
||||
#endif
|
||||
|
||||
// save configurations
|
||||
g_configs.save();
|
||||
ConfigPtr settings = g_configs.getSettings();
|
||||
if(settings) {
|
||||
settings->save();
|
||||
}
|
||||
|
||||
// release resources
|
||||
g_resources.terminate();
|
||||
|
||||
Reference in New Issue
Block a user