[feat]enableShuttleCall command and button to admin menu
This commit is contained in:
@@ -16,6 +16,7 @@ using Content.Shared.Communications;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Emag.Components;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.White;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.Configuration;
|
||||
|
||||
@@ -188,6 +189,10 @@ namespace Content.Server.Communications
|
||||
if (_emergency.EmergencyShuttleArrived || !_roundEndSystem.CanCallOrRecall())
|
||||
return false;
|
||||
|
||||
var shuttleCallEnabled = _cfg.GetCVar(WhiteCVars.EmergencyShuttleCallEnabled);
|
||||
if (!shuttleCallEnabled)
|
||||
return false;
|
||||
|
||||
// Calling shuttle checks
|
||||
if (_roundEndSystem.ExpectedCountdownEnd is null)
|
||||
return comp.CanShuttle;
|
||||
|
||||
Reference in New Issue
Block a user