Disable events by default in debug (#12610)
im too lazy to update my cvars and i can't be the only one tilting
This commit is contained in:
@@ -30,6 +30,10 @@ public sealed class EventManagerSystem : EntitySystem
|
||||
|
||||
_sawmill = Logger.GetSawmill("events");
|
||||
|
||||
#if DEBUG
|
||||
_configurationManager.OverrideDefault(CCVars.EventsEnabled, false);
|
||||
#endif
|
||||
|
||||
_configurationManager.OnValueChanged(CCVars.EventsEnabled, SetEnabled, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user