Fix objectives. (#13122)
Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Content.Server.Objectives.Conditions
|
|||||||
public abstract class KillPersonCondition : IObjectiveCondition
|
public abstract class KillPersonCondition : IObjectiveCondition
|
||||||
{
|
{
|
||||||
protected IEntityManager EntityManager => IoCManager.Resolve<IEntityManager>();
|
protected IEntityManager EntityManager => IoCManager.Resolve<IEntityManager>();
|
||||||
protected MobStateSystem MobStateSystem => IoCManager.Resolve<MobStateSystem>();
|
protected MobStateSystem MobStateSystem => EntityManager.EntitySysManager.GetEntitySystem<MobStateSystem>();
|
||||||
protected Mind.Mind? Target;
|
protected Mind.Mind? Target;
|
||||||
public abstract IObjectiveCondition GetAssigned(Mind.Mind mind);
|
public abstract IObjectiveCondition GetAssigned(Mind.Mind mind);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user