Fix bolt lights on open airlock (#24414)

This commit is contained in:
themias
2024-01-22 16:51:39 -05:00
committed by GitHub
parent c12adb7c22
commit 79624b8c60

View 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 =