summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Game/Ghost.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bot/Games/Game/Ghost.pm')
-rw-r--r--lib/Bot/Games/Game/Ghost.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game/Ghost.pm b/lib/Bot/Games/Game/Ghost.pm
index 1c8f9f7..d1f7267 100644
--- a/lib/Bot/Games/Game/Ghost.pm
+++ b/lib/Bot/Games/Game/Ghost.pm
@@ -85,7 +85,7 @@ command challenge => sub {
return "$word is not valid for state " . $self->state . "!"
unless $self->valid_word_from_state($word);
- $self->is_over(1);
+ $self->is_active(0);
# if there is a challenger, then this is a response by the current
# player, so if it's valid, the challenger loses, otherwise the current
# player loses. if there isn't a challenger, then this is asserting