From: Ant Zucaro Date: Tue, 25 Sep 2018 10:57:53 +0000 (-0400) Subject: KA is another mode similar to the others. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=71c9a096280132c786064be707b1063d7eeb802a;p=xonotic%2Fxonstat.git KA is another mode similar to the others. --- diff --git a/xonstat/views/player.py b/xonstat/views/player.py index e0b9695..2fb716c 100644 --- a/xonstat/views/player.py +++ b/xonstat/views/player.py @@ -105,8 +105,8 @@ def get_games_played(player_id): games = row.wins + row.losses overall_games += games - # DM and CTS don't really have "winners" - if row.game_type_cd in ["dm", "cts"]: + # DM, CTS, and KA don't really have "winners" + if row.game_type_cd in ["dm", "cts", "ka"]: win_pct = None else: overall_wins += row.wins