diff options
Diffstat (limited to 'lib/Bot/Games/Game/24.pm')
-rw-r--r-- | lib/Bot/Games/Game/24.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bot/Games/Game/24.pm b/lib/Bot/Games/Game/24.pm index 039b551..cbe0edc 100644 --- a/lib/Bot/Games/Game/24.pm +++ b/lib/Bot/Games/Game/24.pm @@ -39,9 +39,9 @@ sub turn { else { return $eval; } -} +}; -command give_up => { +command give_up => sub { my $self = shift; $self->is_over($self->solution); return; |