From 74ab5d3aa78403bd2e88b349d51433259ab33738 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 25 Dec 2017 14:31:01 -0500 Subject: [PATCH] Count XPM as vanilla as well. --- 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 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": -- 2.39.2