]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/weapon-profiler-analyzer.pl
fix a REALLY stupid bug in the weapon profiler analyzer
[xonotic/xonotic.git] / 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;