]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Block spectators from changing their ready status
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 23 Nov 2022 15:14:31 +0000 (01:14 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Fri, 6 Jan 2023 07:16:34 +0000 (17:16 +1000)
commitc59fcef6877f5f8c9598fe387c10399e93dde18b
tree87f8d76658f9408ba111b1e09be84f46cf60f2d0
parent12ba178c7684f0e12a5a6076839e6133050d3358
Block spectators from changing their ready status

This is consistent with the existing behaviour of setting .ready to
false when a player switches to spectating.

Also reduces indenting and removes a condition that's no longer needed
since sv_ready_restart was removed.
qcsrc/server/command/cmd.qc