diff --git a/Content.Server/AI/Utility/AiLogic/UtilityAI.cs b/Content.Server/AI/Utility/AiLogic/UtilityAI.cs index f402aedc95..de3347f918 100644 --- a/Content.Server/AI/Utility/AiLogic/UtilityAI.cs +++ b/Content.Server/AI/Utility/AiLogic/UtilityAI.cs @@ -84,13 +84,8 @@ namespace Content.Server.AI.Utility.AiLogic if (BehaviorSets.Count > 0) { var behaviorManager = IoCManager.Resolve(); - - foreach (var bSet in BehaviorSets) - { - behaviorManager.AddBehaviorSet(this, bSet, false); - } - behaviorManager.RebuildActions(this); + Owner.EntityManager.EventBus.RaiseEvent(EventSource.Local, new SleepAiMessage(this, false)); } base.Initialize();