From 8720dcacb9cbe8a08ed69d1a948fc17f39e9a1b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Rustad?= Date: Mon, 26 Aug 2013 13:08:27 +0200 Subject: [PATCH] Mountain points bug --- lib/Duplo/Points.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') { -- 2.47.3