diff --git a/Content.Shared/Standing/StandingStateSystem.cs b/Content.Shared/Standing/StandingStateSystem.cs index bcdfe7ea04..ae42968a1c 100644 --- a/Content.Shared/Standing/StandingStateSystem.cs +++ b/Content.Shared/Standing/StandingStateSystem.cs @@ -34,7 +34,7 @@ public sealed class StandingStateSystem : EntitySystem private void OnMobTargetCollide(Entity ent, ref AttemptMobTargetCollideEvent args) { - if (!ent.Comp.Standing) + if (ent.Comp.CurrentState is StandingState.Lying) // DeltaV { args.Cancelled = true; } @@ -42,7 +42,7 @@ public sealed class StandingStateSystem : EntitySystem private void OnMobCollide(Entity ent, ref AttemptMobCollideEvent args) { - if (!ent.Comp.Standing) + if (ent.Comp.CurrentState is StandingState.Lying) // DeltaV { args.Cancelled = true; }