Fix in-game voting (#12932)

* Fix in-game voting

* Add comment

* Re-enable vote.restart_enabled by default
This commit is contained in:
Kevin Zheng
2022-12-18 17:13:37 -08:00
committed by GitHub
parent 0147003036
commit 72e1a5e109
3 changed files with 5 additions and 3 deletions

View File

@@ -911,12 +911,11 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> VoteEnabled =
CVarDef.Create("vote.enabled", true, CVar.SERVERONLY);
// TODO HUD REFACTOR REENABLE
/// <summary>
/// See vote.enabled, but specific to restart votes
/// </summary>
public static readonly CVarDef<bool> VoteRestartEnabled =
CVarDef.Create("vote.restart_enabled", false, CVar.SERVERONLY);
CVarDef.Create("vote.restart_enabled", true, CVar.SERVERONLY);
/// <summary>
/// See vote.enabled, but specific to preset votes