Fix bolt lights on open airlock (#24414)
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user