From 8f892f83541a408666c30c7ec79f57b4d92799c4 Mon Sep 17 00:00:00 2001 From: realraum Date: Wed, 6 Jul 2011 19:26:48 +0000 Subject: [PATCH] bugfix x01 ausmachen --- dart/dart-x01.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dart/dart-x01.pl b/dart/dart-x01.pl index 22bcbcb..8a73306 100644 --- a/dart/dart-x01.pl +++ b/dart/dart-x01.pl @@ -49,6 +49,7 @@ sub shoot else { $self->shout("miss"); + $self->get_current_player()->{score} = $self->get_current_player()->{last_score}; $self->finish_player_round(); } } @@ -56,6 +57,7 @@ sub shoot sub next_player { my $self=shift; + $self->get_current_player()->{last_score} = $self->get_current_player()->{score}; } sub print_score -- 1.7.10.4