Comms Consoles without CanShuttle can no longer recall (#28803)
Consoles without CanShuttle can no longer recall
This commit is contained in:
@@ -199,9 +199,13 @@ namespace Content.Server.Communications
|
|||||||
if (_emergency.EmergencyShuttleArrived || !_roundEndSystem.CanCallOrRecall())
|
if (_emergency.EmergencyShuttleArrived || !_roundEndSystem.CanCallOrRecall())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// Ensure that we can communicate with the shuttle (either call or recall)
|
||||||
|
if (!comp.CanShuttle)
|
||||||
|
return false;
|
||||||
|
|
||||||
// Calling shuttle checks
|
// Calling shuttle checks
|
||||||
if (_roundEndSystem.ExpectedCountdownEnd is null)
|
if (_roundEndSystem.ExpectedCountdownEnd is null)
|
||||||
return comp.CanShuttle;
|
return true;
|
||||||
|
|
||||||
// Recalling shuttle checks
|
// Recalling shuttle checks
|
||||||
var recallThreshold = _cfg.GetCVar(CCVars.EmergencyRecallTurningPoint);
|
var recallThreshold = _cfg.GetCVar(CCVars.EmergencyRecallTurningPoint);
|
||||||
|
|||||||
Reference in New Issue
Block a user