Fix typos.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 30 Jan 2017 01:07:27 +0000 (20:07 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 30 Jan 2017 01:07:27 +0000 (20:07 -0500)
xonstat/views/submission.py

index b942f09..1526acf 100644 (file)
@@ -152,10 +152,10 @@ def elo_submission_category(submission):
     """Determines the Elo category purely by what is in the submission data."""
     mod = submission.meta.get("O", "None")
 
-    vanilla_allowed_weapons = {"shotgun", "devastatorblaster", "mortar", "vortex", "electro",
+    vanilla_allowed_weapons = {"shotgun", "devastator", "blaster", "mortar", "vortex", "electro",
                                "arc", "hagar", "crylink", "machinegun"}
     insta_allowed_weapons = {"vaporizer", "blaster"}
-    overkill_allowed_weapons = {"hmg", "vortex", "shotgun blaster", "machinegun", "rpc"}
+    overkill_allowed_weapons = {"hmg", "vortex", "shotgun", "blaster", "machinegun", "rpc"}
 
     if mod == "Xonotic":
         if len(submission.weapons - vanilla_allowed_weapons) == 0: