From 9317bbf6538130e61dd6a8318b755a3ce309d716 Mon Sep 17 00:00:00 2001 From: Booblesnoot42 <108703193+Booblesnoot42@users.noreply.github.com> Date: Fri, 18 Apr 2025 20:57:17 -0400 Subject: [PATCH] Fix Airlock Crushing Animation (#34523) fixed issue --- Content.Shared/Doors/Systems/SharedDoorSystem.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.51.2