reviews + test

This commit is contained in:
Kara D
2021-08-05 22:01:02 -07:00
parent 5af4c06231
commit 9354abb024
6 changed files with 95 additions and 110 deletions

View File

@@ -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();