]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/WeaponEncounterProfile.pm
fix global stats
[xonotic/xonotic.git] / misc / tools / WeaponEncounterProfile.pm
index 55547bbf70be61f164b1fcec8f6413ce2138ef16..9dbd80cacbddd773288617a2e14b6a854da15779 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}})
        {