Add CVar for customizing round restart time (#19136)

Co-authored-by: TsjipTsjip <19798667+TsjipTsjip@users.noreply.github.com>
This commit is contained in:
Arimah Greene
2023-08-16 03:36:50 +02:00
committed by GitHub
parent 627dd6addd
commit 3e464cd1f0
4 changed files with 30 additions and 6 deletions

View File

@@ -312,6 +312,13 @@ namespace Content.Shared.CCVar
/// </summary>
public static readonly CVarDef<float> ArtifactRoundEndTimer = CVarDef.Create("game.artifact_round_end_timer", 0.5f, CVar.NOTIFY | CVar.REPLICATED);
/// <summary>
/// The time in seconds that the server should wait before restarting the round.
/// Defaults to 2 minutes.
/// </summary>
public static readonly CVarDef<float> RoundRestartTime =
CVarDef.Create("game.round_restart_time", 120f, CVar.SERVERONLY);
/*
* Discord
*/