Restart vote improvements, voting localization.
Restart votes now need 80% majority to succeed. Restart votes now have a 3 minute cooldown on the caller. Voting stuff has been localized.
This commit is contained in:
@@ -275,5 +275,13 @@ namespace Content.Shared
|
||||
* Context Menu Grouping Types
|
||||
*/
|
||||
public static readonly CVarDef<int> ContextMenuGroupingType = CVarDef.Create("context_menu", 0, CVar.CLIENTONLY);
|
||||
|
||||
/*
|
||||
* VOTE
|
||||
*/
|
||||
|
||||
public static readonly CVarDef<float> VoteRestartRequiredRatio =
|
||||
CVarDef.Create("vote.restart_required_ratio", 0.8f, CVar.SERVERONLY);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user