diff --git a/Content.Server/Objectives/Conditions/KillPersonCondition.cs b/Content.Server/Objectives/Conditions/KillPersonCondition.cs index 7b1301a42c..b87b538a8e 100644 --- a/Content.Server/Objectives/Conditions/KillPersonCondition.cs +++ b/Content.Server/Objectives/Conditions/KillPersonCondition.cs @@ -7,7 +7,7 @@ namespace Content.Server.Objectives.Conditions public abstract class KillPersonCondition : IObjectiveCondition { protected IEntityManager EntityManager => IoCManager.Resolve(); - protected MobStateSystem MobStateSystem => IoCManager.Resolve(); + protected MobStateSystem MobStateSystem => EntityManager.EntitySysManager.GetEntitySystem(); protected Mind.Mind? Target; public abstract IObjectiveCondition GetAssigned(Mind.Mind mind);