Add cvar to deadmin when joining round (#18430)

This commit is contained in:
Kevin Zheng
2023-07-31 12:13:38 -07:00
committed by GitHub
parent 2d08f02d23
commit 64e6d346d6
2 changed files with 15 additions and 0 deletions

View File

@@ -705,6 +705,13 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> AdminShowPIIOnBan =
CVarDef.Create("admin.show_pii_onban", false, CVar.SERVERONLY);
/// <summary>
/// If an admin joins a round by reading up or using the late join button, automatically
/// de-admin them.
/// </summary>
public static readonly CVarDef<bool> AdminDeadminOnJoin =
CVarDef.Create("admin.deadmin_on_join", false, CVar.SERVERONLY);
/*
* Explosions
*/