Cvar to allow whitelisted players to bypass panic bunker (#23885)

Among us
This commit is contained in:
Vasilis
2024-01-14 06:27:32 +01:00
committed by GitHub
parent 7ac76838ed
commit 22c0b4425d
2 changed files with 13 additions and 6 deletions

View File

@@ -305,6 +305,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<string> PanicBunkerCustomReason =
CVarDef.Create("game.panic_bunker.custom_reason", string.Empty, CVar.SERVERONLY);
/// <summary>
/// Allow bypassing the panic bunker if the user is whitelisted.
/// </summary>
public static readonly CVarDef<bool> BypassBunkerWhitelist =
CVarDef.Create("game.panic_bunker.whitelisted_can_bypass", true, CVar.SERVERONLY);
/// <summary>
/// Make people bonk when trying to climb certain objects like tables.
/// </summary>