]> git.xonotic.org Git - xonotic/xonstat.git/commitdiff
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 b942f09821675bf437ff466744f826a8199b3025..1526acf8ae88a46b369e05c0565ca0c3eb7d4fa7 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: