From: realraum Date: Wed, 6 Jul 2011 19:26:48 +0000 (+0000) Subject: bugfix x01 ausmachen X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=8f892f83541a408666c30c7ec79f57b4d92799c4;p=svn42.git bugfix x01 ausmachen --- 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