From: Rudolf Polzer Date: Thu, 18 Aug 2011 12:11:51 +0000 (+0200) Subject: fix a REALLY stupid bug in the weapon profiler analyzer X-Git-Tag: xonotic-v0.5.0~37 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5fbb847fbb257dd67b8f2c993bd7d0a1ac97bf82;p=xonotic%2Fxonotic.git fix a REALLY stupid bug in the weapon profiler analyzer --- diff --git a/misc/tools/weapon-profiler-analyzer.pl b/misc/tools/weapon-profiler-analyzer.pl index dcab0a22..1c0415a4 100755 --- a/misc/tools/weapon-profiler-analyzer.pl +++ b/misc/tools/weapon-profiler-analyzer.pl @@ -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;