X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonstat.git;a=blobdiff_plain;f=xonstat%2Fviews%2Fsubmission.py;h=b4059e5ad06c2bbe3863587c7b3499ed0f5521b1;hp=1b6e5fe0ad80462fb1f306ec1e4ee7fffdb069c5;hb=7c76a3df34755d10ea82d4c150b7c475e2c270b9;hpb=46766ab3e13c8265330047224d6bb823d5d4aaf1 diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 1b6e5fe..b4059e5 100644 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -149,7 +149,7 @@ class Submission(object): if sub_key.endswith("cnt-fired"): player_fired_weapon = True self.add_weapon_fired(sub_key) - elif sub_key == 'scoreboard-score' and int(sub_value) != 0: + elif sub_key == 'scoreboard-score' and int(round(float(sub_value))) != 0: player_nonzero_score = True elif sub_key == 'scoreboard-fastest': player_fastest = True