Fix rules popup (#8485)
* CVar to show rules popup for localhost.
For testing purposes.
* Fix rules popup being broken and throwing.
😐
This commit is contained in:
committed by
GitHub
parent
38368d1341
commit
4c1b0b87fb
@@ -906,6 +906,13 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<float> RulesWaitTime =
|
||||
CVarDef.Create("rules.time", 45f, CVar.SERVER | CVar.REPLICATED);
|
||||
|
||||
/// <summary>
|
||||
/// Don't show rules to localhost/loopback interface.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> RulesExemptLocal =
|
||||
CVarDef.Create("rules.exempt_local", true, CVar.SERVERONLY);
|
||||
|
||||
|
||||
/*
|
||||
* Autogeneration
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user