]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Properly reset weapon accuracy on player respawn if sv_ready_restart_after_countdown...
authorterencehill <piuntn@gmail.com>
Sat, 11 Dec 2021 15:56:46 +0000 (16:56 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 11 Dec 2021 15:56:46 +0000 (16:56 +0100)
commite60f49d307394cecc0ac99aa39c025fef21fce7a
tree51cfdf4fc253e491db4c9dcc7d9065cbe4b767f6
parente08b3263acb01d68bb72346b762afb0ba262ecec
Properly reset weapon accuracy on player respawn if sv_ready_restart_after_countdown is 1, thanks z411 for pointing out this bug

z411: "I think it seems to work as you expect because you are resetting the accuracies before the match starts, but once the players respawn accuracy_resend() which actually sends the stats is called in PutPlayerInServer() when they respawn. So the server is actually resetting the stats before it should, but sends them when they respawn."
qcsrc/server/command/vote.qc