diff options
-rw-r--r-- | lib/Bot/Games/Game/Ghost.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game/Ghost.pm b/lib/Bot/Games/Game/Ghost.pm index 4ce59ec..703c336 100644 --- a/lib/Bot/Games/Game/Ghost.pm +++ b/lib/Bot/Games/Game/Ghost.pm @@ -57,7 +57,7 @@ augment turn => sub { return "You must respond to " . $self->challenger . "'s challenge!" if $self->has_challenger; return "$state isn't a valid move!" - unless $self->valid_move($state); + unless $state =~ /a-z/i && $self->valid_move($state); $self->current_player($self->next_player); return $self->state($state); |