Add auto map vote cvar (#27496)

* Add auto map vote cvar

* :trollface:
This commit is contained in:
lzk
2024-05-09 08:33:08 +02:00
committed by GitHub
parent 1593a11aa9
commit fe35188e2c
3 changed files with 15 additions and 0 deletions

View File

@@ -330,6 +330,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> DebugCoordinatesAdminOnly =
CVarDef.Create("game.debug_coordinates_admin_only", true, CVar.SERVER | CVar.REPLICATED);
/// <summary>
/// Controls if lobby has an automatic map vote.
/// </summary>
public static readonly CVarDef<bool>
GameAutoMapVote = CVarDef.Create("game.lobby_auto_map_vote", true, CVar.ARCHIVE | CVar.SERVERONLY);
#if EXCEPTION_TOLERANCE
/// <summary>
/// Amount of times round start must fail before the server is shut down.