From 8c45f44f079fd694d7410fa8cd2683b6341ee6b5 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sat, 4 Feb 2017 11:41:28 -0500 Subject: [PATCH] Parse the sub-value, not the full value. --- xonstat/views/submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 20e20f9..40f735d 100644 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -155,7 +155,7 @@ class Submission(object): if sub_key.endswith("cnt-fired"): player_fired_weapon = True self.check_for_new_weapon_fired(sub_key) - elif sub_key == 'scoreboard-score' and int(value) != 0: + elif sub_key == 'scoreboard-score' and int(sub_value) != 0: player_nonzero_score = True elif sub_key == 'scoreboard-fastest': player_fastest = True -- 2.39.2