From 3b0f42f182f315abd840202a2fcc73c03b10faa4 Mon Sep 17 00:00:00 2001 From: Trest <144359854+trest100@users.noreply.github.com> Date: Sun, 23 Feb 2025 19:49:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B0=D0=B0=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Client/Doors/AirlockSystem.cs | 2 +- .../Structures/Doors/Airlocks/base_structureairlocks.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Content.Client/Doors/AirlockSystem.cs b/Content.Client/Doors/AirlockSystem.cs index 712bdd1bec4..5d523ec8df2 100644 --- a/Content.Client/Doors/AirlockSystem.cs +++ b/Content.Client/Doors/AirlockSystem.cs @@ -97,7 +97,7 @@ private void OnAppearanceChange(EntityUid uid, AirlockComponent comp, ref Appear || state == DoorState.Opening || state == DoorState.Denying || (state == DoorState.Open && comp.OpenUnlitVisible) - || (_appearanceSystem.TryGetData(uid, DoorVisuals.ClosedLights, out var closedLights, args.Component) && closedLights)) + || (state == DoorState.Closed && comp.OpenUnlitVisible)) && !boltedVisible && !emergencyLightsVisible; } diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml index b811d0f6673..ba3af03734a 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_structureairlocks.yml @@ -20,7 +20,6 @@ - state: closed_unlit shader: unshaded map: ["enum.DoorVisualLayers.BaseUnlit"] - visible: false - state: welded map: ["enum.WeldableLayers.BaseWelded"] - state: bolted_unlit