]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
fix a REALLY stupid bug in the weapon profiler analyzer
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 18 Aug 2011 12:11:51 +0000 (14:11 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 18 Aug 2011 12:11:51 +0000 (14:11 +0200)
misc/tools/weapon-profiler-analyzer.pl

index dcab0a22cd0bf6eca57fcfd153a7e15192844cca..1c0415a49cdd987a74439906ff8fe335744824ec 100755 (executable)
@@ -128,7 +128,7 @@ sub Evaluate($)
        my %allweps;
        while(my ($k, $v) = each %$matrix)
        {
-               for(my ($k2, $v2) = each %$v)
+               while(my ($k2, $v2) = each %$v)
                {
                        next if $k eq $k2;
                        next if !$v2;