Correctly implement opening animation for airlocks with open maintenance panel.

This commit is contained in:
Pieter-Jan Briers
2019-10-14 00:20:01 +02:00
parent fd109436e5
commit f3f05b0396
38 changed files with 27 additions and 15 deletions

View File

@@ -79,7 +79,7 @@ namespace Content.Server.GameObjects.Components.Doors
{
base.State = value;
// Only show the maintenance panel if the airlock is closed
_wires.IsPanelVisible = value == DoorState.Closed;
_wires.IsPanelVisible = value != DoorState.Open;
}
}