diff options
author | doy <doy@tozt.net> | 2009-04-27 00:43:17 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-27 00:43:17 -0500 |
commit | eb5197e67e600ceb1e30df3d741c70c5024082db (patch) | |
tree | e13a9b85087300c3f4b8a8e8ec39f86ce60838a1 /lib/Bot/Games/Game/Ghost.pm | |
parent | d03fe696ce25af4efd63d5a1d2888e5c3d7b12fe (diff) | |
download | bot-games-eb5197e67e600ceb1e30df3d741c70c5024082db.tar.gz bot-games-eb5197e67e600ceb1e30df3d741c70c5024082db.zip |
invert the sense of the is_over attribute (make it is_active)
Diffstat (limited to 'lib/Bot/Games/Game/Ghost.pm')
-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 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 |