projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b865a4
)
bugfix x01 ausmachen
author
realraum
<realraum@realraum.at>
Wed, 6 Jul 2011 19:26:48 +0000
(19:26 +0000)
committer
realraum
<realraum@realraum.at>
Wed, 6 Jul 2011 19:26:48 +0000
(19:26 +0000)
dart/dart-x01.pl
patch
|
blob
|
history
diff --git
a/dart/dart-x01.pl
b/dart/dart-x01.pl
index
22bcbcb
..
8a73306
100644
(file)
--- 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