diff --git a/Content.Server/Communications/CommunicationsConsoleSystem.cs b/Content.Server/Communications/CommunicationsConsoleSystem.cs index 6f91f3c63d273d..489be1f7e8b30d 100644 --- a/Content.Server/Communications/CommunicationsConsoleSystem.cs +++ b/Content.Server/Communications/CommunicationsConsoleSystem.cs @@ -381,10 +381,8 @@ private void OnToggleEmergencyMaintMessage(EntityUid uid, CommunicationsConsoleC } private void OnCallShuttleMessage(EntityUid uid, CommunicationsConsoleComponent comp, CommunicationsConsoleCallEmergencyShuttleMessage message) { - if (!EntityManager.TryGetComponent(message.Actor, out ActorComponent? actor)) - return; - - if (!CanCallOrRecall(comp)) + if (!EntityManager.TryGetComponent(message.Actor, out ActorComponent? actor) + || !CanCallOrRecall(comp)) return; var mob = message.Actor;