Introduce Config namespace and struct

This commit is contained in:
Aaron van Geffen committed 2024-05-10 12:10:21 +02:00
1 parent 9e206d5528
commit a63d86c488
101 files changed
+1162 -1108

No files matched your search

+1 -1
View File
@@ -572,7 +572,7 @@ void ScriptEngine::RefreshPlugins()
}
// Turn on hot reload if not already enabled
if (!_hotReloadingInitialised && gConfigPlugin.EnableHotReloading && NetworkGetMode() == NETWORK_MODE_NONE)
if (!_hotReloadingInitialised && Config::Get().plugin.EnableHotReloading && NetworkGetMode() == NETWORK_MODE_NONE)
{
SetupHotReloading();
}