change the restart vote to have no effect with admins online (#22945)
* Change the vote and cvar * Only denies successful votes * Add comments because I'm a good coder, I swear * I added a space to the first line of ccvars it's so over
This commit is contained in:
@@ -1223,7 +1223,7 @@ namespace Content.Shared.CCVar
|
||||
CVarDef.Create("vote.restart_required_ratio", 0.85f, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not to restrict the restart vote when there's online admins.
|
||||
/// Whether or not to prevent the restart vote from having any effect when there is an online admin
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> VoteRestartNotAllowedWhenAdminOnline =
|
||||
CVarDef.Create("vote.restart_not_allowed_when_admin_online", true, CVar.SERVERONLY);
|
||||
|
||||
Reference in New Issue
Block a user