From d0c46cc5eb194777b59f9a68b2949b138070c1cf Mon Sep 17 00:00:00 2001 From: Ivan Rubinov Date: Wed, 26 Jun 2024 17:43:30 +0300 Subject: [PATCH] =?UTF-8?q?FIX=20=D0=9B=D0=AF=D0=96=D0=90=D0=9D=D0=98?= =?UTF-8?q?=D0=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Shared/Standing/StandingStateSystem.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Shared/Standing/StandingStateSystem.cs b/Content.Shared/Standing/StandingStateSystem.cs index 0fdfe094d02..b3bda5a9e7b 100644 --- a/Content.Shared/Standing/StandingStateSystem.cs +++ b/Content.Shared/Standing/StandingStateSystem.cs @@ -120,6 +120,7 @@ public bool Down(EntityUid uid, bool playSound = true, bool dropHeldItems = true if (msg.Cancelled) return false; + EnsureComp(uid); Dirty(uid, standingState); RaiseLocalEvent(uid, new DownedEvent(), false); @@ -179,6 +180,7 @@ public bool Stand(EntityUid uid, return false; } + RemCompDeferred(uid); Dirty(uid, standingState); RaiseLocalEvent(uid, new StoodEvent(), false);