From: Ant Zucaro Date: Mon, 25 Dec 2017 19:31:01 +0000 (-0500) Subject: Count XPM as vanilla as well. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2Fglicko;p=xonotic%2Fxonstat.git Count XPM as vanilla as well. --- diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 135a08f..782a557 100644 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -254,7 +254,7 @@ def game_category(submission): insta_allowed_weapons = {"vaporizer", "blaster"} overkill_allowed_weapons = {"hmg", "vortex", "shotgun", "blaster", "machinegun", "rpc"} - if mod == "Xonotic": + if mod == "Xonotic" or mod == "XPM": if len(submission.weapons - vanilla_allowed_weapons) == 0: return "vanilla" elif mod == "InstaGib":