Fixed airlock maintenance panel showing when the airlock was open (#346)

This commit is contained in:
DamianX
2019-09-18 22:12:36 +02:00
committed by Pieter-Jan Briers
parent 375813e5e2
commit b496e8ef29
4 changed files with 68 additions and 22 deletions

View File

@@ -48,7 +48,7 @@ namespace Content.Server.GameObjects.Components.VendingMachines
}
var wires = Owner.GetComponent<WiresComponent>();
if (wires.IsOpen)
if (wires.IsPanelOpen)
{
wires.OpenInterface(actor.playerSession);
} else