Disable NPCs in debug (#10353)
This commit is contained in:
parent
b947151d9a
commit
f5fdf4e672
|
|
@ -34,6 +34,11 @@ namespace Content.Server.AI.EntitySystems
|
|||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
// Makes physics etc debugging easier.
|
||||
#if DEBUG
|
||||
_configurationManager.OverrideDefault(CCVars.NPCEnabled, false);
|
||||
#endif
|
||||
|
||||
_sawmill = Logger.GetSawmill("npc");
|
||||
InitializeUtility();
|
||||
SubscribeLocalEvent<NPCComponent, MobStateChangedEvent>(OnMobStateChange);
|
||||
|
|
|
|||
Loading…
Reference in New Issue