X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=misc%2Ftools%2FWeaponEncounterProfile.pm;h=c0cf91451ede0d1fd123c7c59b492e6716de60ac;hb=e06164f0cb3864bb1fe04c5ae4b90c05219362bc;hp=55547bbf70be61f164b1fcec8f6413ce2138ef16;hpb=864c4b3126439d3d84992e1fe78678ab52dac05b;p=xonotic%2Fxonotic.git diff --git a/misc/tools/WeaponEncounterProfile.pm b/misc/tools/WeaponEncounterProfile.pm index 55547bbf..c0cf9145 100644 --- a/misc/tools/WeaponEncounterProfile.pm +++ b/misc/tools/WeaponEncounterProfile.pm @@ -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"], );