From eb5197e67e600ceb1e30df3d741c70c5024082db Mon Sep 17 00:00:00 2001 From: doy Date: Mon, 27 Apr 2009 00:43:17 -0500 Subject: invert the sense of the is_over attribute (make it is_active) --- lib/Bot/Games/Game/Ghost.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Bot/Games/Game/Ghost.pm') 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 -- cgit v1.2.3-54-g00ecf