Skip to content

Commit

Permalink
fix shuttle calling
Browse files Browse the repository at this point in the history
  • Loading branch information
Fansana committed Nov 25, 2024
1 parent 8d2a0ee commit 518c527
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Content.Server/Communications/CommunicationsConsoleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ private bool CanCallOrRecall(CommunicationsConsoleComponent comp)
|| !comp.CanShuttle)
return false;

// Calling shuttle checks
if (_roundEndSystem.ExpectedCountdownEnd is null)
return comp.CanShuttle;

// Recalling shuttle checks
var recallThreshold = _cfg.GetCVar(CCVars.EmergencyRecallTurningPoint);

Expand Down

0 comments on commit 518c527

Please sign in to comment.