]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/WeaponEncounterProfile.pm
Fix macOS SDL2 framework permissions
[xonotic/xonotic.git] / misc / tools / WeaponEncounterProfile.pm
index 55547bbf70be61f164b1fcec8f6413ce2138ef16..c0cf91451ede0d1fd123c7c59b492e6716de60ac 100644 (file)
@@ -108,7 +108,7 @@ sub allstats($$)
 {
        my ($self, $callback) = @_;
        # send global stats
-       $callback->(undef, undef, $self->{allstats});
+       $callback->(undef, undef, undef, $self->{allstats});
        # send per-host stats
        while(my ($k, $v) = each %{$self->{addrstats}})
        {
@@ -149,19 +149,19 @@ our %WeaponMap = (
          1 => ["Laser", "laser"],
          2 => ["Shotgun", "shotgun"],
          3 => ["Uzi", "uzi"],
-         4 => ["Mortar", "gl"],
+         4 => ["Mortar", "grenadelauncher"],
          5 => ["Mine Layer", "minelayer"],
          6 => ["Electro", "electro"],
          7 => ["Crylink", "crylink"],
          8 => ["Nex", "nex"],
          9 => ["Hagar", "hagar"],
-        10 => ["Rocket Launcher", "rl"],
+        10 => ["Rocket Launcher", "rocketlauncher"],
         11 => ["Port-O-Launch", "porto"],
         12 => ["MinstaNex", "minstanex"],
-        13 => ["Grappling Hook", "hookgun"],
+        13 => ["Grappling Hook", "hook"],
         14 => ["Heavy Laser Assault Cannon", "hlac"],
         15 => ["@!#%'n Tuba", "tuba"],
-        16 => ["Sniper Rifle", "sniperrifle"],
+        16 => ["Sniper Rifle", "rifle"],
         17 => ["Fireball", "fireball"],
         18 => ["Seeker", "seeker"],
 );