Adds the sv_votesrequired dvar which allows setting the amount of votes required for a voting (g_allowvote) to pass.
The default value of 0 will result in the value being calculated from player count (players / 2 +1).
How does this PR change IW4x's behaviour?
The default votes required will deviate. Previously a fixed amount of votes was required, with this change a majority is required by default (players / 2 +1). It should behave the same as before by setting sv_votesrequired to 3.
What does this PR do?
Adds the
sv_votesrequired
dvar which allows setting the amount of votes required for a voting (g_allowvote
) to pass. The default value of0
will result in the value being calculated from player count (players / 2 +1
).How does this PR change IW4x's behaviour?
The default votes required will deviate. Previously a fixed amount of votes was required, with this change a majority is required by default (
players / 2 +1
). It should behave the same as before by settingsv_votesrequired
to 3.