]> de.git.xonotic.org Git - xonotic/xonstat.git/commit
Halve the weapon stats if the POST request is from version 1.
authorAnt Zucaro <azucaro@gmail.com>
Fri, 7 Sep 2012 02:41:45 +0000 (22:41 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Fri, 7 Sep 2012 02:41:45 +0000 (22:41 -0400)
commitf89b644bba60c18345c12d1cfff82f5af67969b8
treed4a8750a13a6c09758615f936335d68c7b8ea71f
parentaa0a321e21d6746ae00dc981e88083d1b801c538
Halve the weapon stats if the POST request is from version 1.

Version 1 of the weapon stats submissions sent double the weapon
stats. This means that all hit, fired, max, actual, and frag data
were 2x what they should be. The fix is to check for version 1
requests and halve them accordingly. Versions >1 should not have
this problem.
xonstat/views/submission.py