From: Bjørn Rustad Date: Mon, 26 Aug 2013 11:08:27 +0000 (+0200) Subject: Mountain points bug X-Git-Url: http://git.rustad.me/?a=commitdiff_plain;h=8720dcacb9cbe8a08ed69d1a948fc17f39e9a1b1;p=duplo Mountain points bug --- diff --git a/lib/Duplo/Points.pm b/lib/Duplo/Points.pm index 732c51e..d2359ec 100644 --- a/lib/Duplo/Points.pm +++ b/lib/Duplo/Points.pm @@ -126,7 +126,7 @@ sub get_points { # Mountains has categories if ($t eq 'MOUNTAIN') { - $p += $POINTS{$t}->{$r->{'category'}}->{$r->{'number'}}; + $p += $MOUNTAIN{$r->{'category'}}->{$r->{'number'}}; } # Finishes has ranges (could make a huge hash with >100 entries too elsif ($t eq 'FINISH') {