[ChangeCVarCommand] Mapping Command (#35239)

[ChangeCVarCommand] MappingCommand
This commit is contained in:
Simon
2025-02-18 11:26:08 +01:00
committed by GitHub
parent 0f4ab0e84e
commit eff25810c5
4 changed files with 16 additions and 4 deletions

View File

@@ -1,4 +1,6 @@
using Robust.Shared.Configuration;
using Content.Shared.Administration;
using Content.Shared.CCVar.CVarAccess;
using Robust.Shared.Configuration;
namespace Content.Shared.CCVar;
@@ -170,6 +172,7 @@ public sealed partial class CCVars
/// <summary>
/// Time in minutes after round start to auto-call the shuttle. Set to zero to disable.
/// </summary>
[CVarControl(AdminFlags.Server | AdminFlags.Mapping, min: 0, max: int.MaxValue)]
public static readonly CVarDef<int> EmergencyShuttleAutoCallTime =
CVarDef.Create("shuttle.auto_call_time", 90, CVar.SERVERONLY);