Map pool cvar (#12313)

* it just works

* nuke votable

* whoops
This commit is contained in:
Rane
2022-11-01 21:17:35 -04:00
committed by GitHub
parent 784e0ab51f
commit 88186f2106
13 changed files with 59 additions and 16 deletions

View File

@@ -184,6 +184,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<string>
GameMap = CVarDef.Create("game.map", "Saltern", CVar.SERVERONLY);
/// <summary>
/// Prototype to use for map pool.
/// </summary>
public static readonly CVarDef<string>
GameMapPool = CVarDef.Create("game.map_pool", "DefaultMapPool", CVar.SERVERONLY);
/// <summary>
/// Controls if the game should obey map criteria or not. Overriden if a map vote or similar occurs.
/// </summary>