Shuttle can be called even when comms console is off (#2763)

This commit is contained in:
Swept
2020-12-18 11:42:02 +00:00
committed by GitHub
parent efbdeada23
commit 9c381dc174

View File

@@ -1,4 +1,4 @@
#nullable enable
#nullable enable
using Content.Server.GameObjects.Components.Power.ApcNetComponents;
using Content.Server.GameObjects.EntitySystems;
using Content.Server.Utility;
@@ -77,11 +77,12 @@ namespace Content.Server.GameObjects.Components.Command
{
if (!eventArgs.User.TryGetComponent(out IActorComponent? actor))
return;
/*
if (!Powered)
{
return;
}
*/
OpenUserInterface(actor.playerSession);
}
}