From a67069ad56c546f74f9fd3fb99ed4e78bc7036fa Mon Sep 17 00:00:00 2001 From: deltanedas <@deltanedas:kde.org> Date: Sun, 6 Apr 2025 22:50:13 +0100 Subject: [PATCH] fix standing --- Content.Shared/Standing/StandingStateSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }