reviews + test
This commit is contained in:
@@ -43,8 +43,8 @@ namespace Content.Server.Doors.Systems
|
||||
if (component.WiresComponent != null)
|
||||
{
|
||||
component.WiresComponent.IsPanelVisible =
|
||||
args.State != SharedDoorComponent.DoorState.Open
|
||||
|| component.OpenPanelVisible;
|
||||
component.OpenPanelVisible
|
||||
|| args.State != SharedDoorComponent.DoorState.Open;
|
||||
}
|
||||
// If the door is closed, we should look if the bolt was locked while closing
|
||||
component.UpdateBoltLightStatus();
|
||||
|
||||
Reference in New Issue
Block a user