From: Othmar Gsenger Date: Mon, 4 Jul 2011 19:42:37 +0000 (+0000) Subject: added quit X-Git-Url: https://git.realraum.at/?p=svn42.git;a=commitdiff_plain;h=8ac06bcb3f87262342da16851a89bb27907aee99 added quit --- diff --git a/dart/Dart.pm b/dart/Dart.pm index 634f149..8ceee17 100644 --- 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');