From: Booblesnoot42 <108703193+Booblesnoot42@users.noreply.github.com> Date: Sat, 19 Apr 2025 00:57:17 +0000 (-0400) Subject: Fix Airlock Crushing Animation (#34523) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=9317bbf6538130e61dd6a8318b755a3ce309d716;p=space-station-14.git Fix Airlock Crushing Animation (#34523) fixed issue --- diff --git a/Content.Shared/Doors/Systems/SharedDoorSystem.cs b/Content.Shared/Doors/Systems/SharedDoorSystem.cs index 4d92cf9681..a0dba80bd9 100644 --- a/Content.Shared/Doors/Systems/SharedDoorSystem.cs +++ b/Content.Shared/Doors/Systems/SharedDoorSystem.cs @@ -768,10 +768,13 @@ public abstract partial class SharedDoorSystem : EntitySystem var door = ent.Comp; door.NextStateChange = null; - if (door.CurrentlyCrushing.Count > 0) + if (door.CurrentlyCrushing.Count > 0 && door.State != DoorState.Opening) + { // This is a closed door that is crushing people and needs to auto-open. Note that we don't check "can open" // here. The door never actually finished closing and we don't want people to get stuck inside of doors. StartOpening(ent, door); + return; + } switch (door.State) {