Skip to content

Commit

Permalink
Fix Unable to Call Shuttle
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxoTrystan authored Nov 9, 2024
1 parent 7d05d1d commit ee75654
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Content.Server/Communications/CommunicationsConsoleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,11 @@ private bool CanUse(EntityUid user, EntityUid console)
private bool CanCallOrRecall(CommunicationsConsoleComponent comp)
{
// Defer to what the round end system thinks we should be able to do.
if (_emergency.EmergencyShuttleArrived || !_roundEndSystem.CanCallOrRecall())
if (_emergency.EmergencyShuttleArrived
|| !_roundEndSystem.CanCallOrRecall()
|| !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 ee75654

Please sign in to comment.