CVar - Toggle display of round-end greentext (#35651)

* hide greentext if cvar false

* change IFs around a lil

* reviews
This commit is contained in:
Killerqu00
2025-03-04 17:59:44 +01:00
committed by GitHub
parent 5774b71b9b
commit 2d32e08bee
2 changed files with 18 additions and 1 deletions

View File

@@ -53,6 +53,12 @@ public sealed partial class CCVars
public static readonly CVarDef<bool>
GameLobbyEnableWin = CVarDef.Create("game.enablewin", true, CVar.ARCHIVE);
/// <summary>
/// Controls if round-end window shows whether the objective was completed or not.
/// </summary>
public static readonly CVarDef<bool>
GameShowGreentext = CVarDef.Create("game.showgreentext", true, CVar.ARCHIVE | CVar.SERVERONLY);
/// <summary>
/// Controls the maximum number of character slots a player is allowed to have.
/// </summary>