]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Comms Consoles without CanShuttle can no longer recall (#28803)
authorRobert V <vincerob@oregonstate.edu>
Wed, 12 Jun 2024 13:32:57 +0000 (06:32 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2024 13:32:57 +0000 (09:32 -0400)
Consoles without CanShuttle can no longer recall

Content.Server/Communications/CommunicationsConsoleSystem.cs

index 61a18fe3d524b1f6a2dc6128cc625c0eb4ceca3a..7502c889e1ca5b4eeff070010a53196c0e246d35 100644 (file)
@@ -199,9 +199,13 @@ namespace Content.Server.Communications
             if (_emergency.EmergencyShuttleArrived || !_roundEndSystem.CanCallOrRecall())
                 return false;
 
+            // Ensure that we can communicate with the shuttle (either call or recall)
+            if (!comp.CanShuttle)
+                return false;
+
             // Calling shuttle checks
             if (_roundEndSystem.ExpectedCountdownEnd is null)
-                return comp.CanShuttle;
+                return true;
 
             // Recalling shuttle checks
             var recallThreshold = _cfg.GetCVar(CCVars.EmergencyRecallTurningPoint);