From 9c381dc174dc88c1bbb1678c9741727113889227 Mon Sep 17 00:00:00 2001 From: Swept Date: Fri, 18 Dec 2020 11:42:02 +0000 Subject: [PATCH] Shuttle can be called even when comms console is off (#2763) --- .../Components/Command/CommunicationsConsoleComponent.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Content.Server/GameObjects/Components/Command/CommunicationsConsoleComponent.cs b/Content.Server/GameObjects/Components/Command/CommunicationsConsoleComponent.cs index c32d7d9f91..2e3f6f6f48 100644 --- a/Content.Server/GameObjects/Components/Command/CommunicationsConsoleComponent.cs +++ b/Content.Server/GameObjects/Components/Command/CommunicationsConsoleComponent.cs @@ -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); } }