]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix unnecessary inflation of g_warmup_majority_factor in some cases
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 26 Sep 2022 05:23:11 +0000 (15:23 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 28 Sep 2022 20:00:45 +0000 (06:00 +1000)
commita6c88b6db4a45bae4d7c2d0b84a0dd95ebcd2f58
tree4e17efe4994f941125fb659b3b245bd42e9fa956
parent633208780cb9d495626fdea4b3f5b3af548d81d3
Fix unnecessary inflation of g_warmup_majority_factor in some cases

For example with 10 players joined and g_warmup_majority_factor 0.8
the old code required 9 players to be ready, new code requires 8.
Behaviour is unchanged when joined players * factor is not an integer.

Also improve cvar description.
qcsrc/server/command/vote.qc
xonotic-server.cfg