projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a4424
)
added quit
author
Othmar Gsenger
<otti@realraum.at>
Mon, 4 Jul 2011 19:42:37 +0000
(19:42 +0000)
committer
Othmar Gsenger
<otti@realraum.at>
Mon, 4 Jul 2011 19:42:37 +0000
(19:42 +0000)
dart/Dart.pm
patch
|
blob
|
history
diff --git
a/dart/Dart.pm
b/dart/Dart.pm
index
634f149
..
8ceee17
100644
(file)
--- a/
dart/Dart.pm
+++ b/
dart/Dart.pm
@@
-90,6
+90,8
@@
sub run
$self->callback('undo');
} elsif ($mult eq 'reset') {
$self->reset_game();
+ } elsif ($mult eq 'quit') {
+ return;
}
push @history, Clone::clone($self);
$self->callback('before_shoot');