Comms Consoles without CanShuttle can no longer recall (#28803)
Consoles without CanShuttle can no longer recall
This commit is contained in:
parent
a0f709918d
commit
94bf301a8b
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue