From 9bf4a32c192d7e69a3d53ed44eb5bd2f07c004b4 Mon Sep 17 00:00:00 2001 From: Moony Date: Tue, 20 Dec 2022 18:06:01 -0600 Subject: [PATCH] Fix objectives. (#13122) Co-authored-by: moonheart08 --- Content.Server/Objectives/Conditions/KillPersonCondition.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);