Fix bolt lights on open airlock (#24414)

(cherry picked from commit 79624b8c60c1a4b9b5cbf394bc4dc5011d774f4e)
This commit is contained in:
themias 2024-01-22 16:51:39 -05:00 committed by Debug
parent de13b3426a
commit a345a5a613
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
1 changed files with 1 additions and 1 deletions

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 =