mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Introduce Config namespace and struct
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user