Config presets system. (#12824)

This commit is contained in:
Pieter-Jan Briers
2022-12-16 23:26:24 +01:00
committed by GitHub
parent 326fdefe85
commit 55c61b9c35
8 changed files with 105 additions and 17 deletions

View File

@@ -30,10 +30,6 @@ public sealed class EventManagerSystem : EntitySystem
_sawmill = Logger.GetSawmill("events");
#if DEBUG
_configurationManager.OverrideDefault(CCVars.EventsEnabled, false);
#endif
_configurationManager.OnValueChanged(CCVars.EventsEnabled, SetEnabled, true);
}