summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Game.pm
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-27 00:43:17 -0500
committerdoy <doy@tozt.net>2009-04-27 00:43:17 -0500
commiteb5197e67e600ceb1e30df3d741c70c5024082db (patch)
treee13a9b85087300c3f4b8a8e8ec39f86ce60838a1 /lib/Bot/Games/Game.pm
parentd03fe696ce25af4efd63d5a1d2888e5c3d7b12fe (diff)
downloadbot-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.pm')
-rw-r--r--lib/Bot/Games/Game.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm
index 4b848be..1b4310b 100644
--- a/lib/Bot/Games/Game.pm
+++ b/lib/Bot/Games/Game.pm
@@ -45,10 +45,9 @@ has last_turn_time => (
formatter => sub { _diff_from_now(shift) },
);
-has is_over => (
+has is_active => (
is => 'rw',
isa => 'Bool',
- default => 1,
command => 1,
needs_init => 0,
);