]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix bolt lights on open airlock (#24414)
authorthemias <89101928+themias@users.noreply.github.com>
Mon, 22 Jan 2024 21:51:39 +0000 (16:51 -0500)
committerGitHub <noreply@github.com>
Mon, 22 Jan 2024 21:51:39 +0000 (14:51 -0700)
Content.Client/Doors/AirlockSystem.cs

index 112d828b5e6095246c87fb3db8029f1cced8e03a..4837adf460b4827617114caf92e713f42927d5eb 100644 (file)
@@ -95,7 +95,7 @@ public sealed class AirlockSystem : SharedAirlockSystem
         if (_appearanceSystem.TryGetData<bool>(uid, DoorVisuals.Powered, out var powered, args.Component) && powered)
         {
             boltedVisible = _appearanceSystem.TryGetData<bool>(uid, DoorVisuals.BoltLights, out var lights, args.Component)
-                            && lights && (state == DoorState.Closed || state == DoorState.Open || state == DoorState.Welded);
+                            && lights && (state == DoorState.Closed || state == DoorState.Welded);
 
             emergencyLightsVisible = _appearanceSystem.TryGetData<bool>(uid, DoorVisuals.EmergencyLights, out var eaLights, args.Component) && eaLights;
             unlitVisible =