summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-27 00:40:40 -0500
committerdoy <doy@tozt.net>2009-04-27 00:40:40 -0500
commitd03fe696ce25af4efd63d5a1d2888e5c3d7b12fe (patch)
treecdcc4cddfe7bcbe7eb7dd49304098e205edf9ee7 /lib/Bot/Games
parentf14145ab982aee807b65ecbc1a6ea82b6657bb0e (diff)
downloadbot-games-d03fe696ce25af4efd63d5a1d2888e5c3d7b12fe.tar.gz
bot-games-d03fe696ce25af4efd63d5a1d2888e5c3d7b12fe.zip
make is_over work properly as a command
Diffstat (limited to 'lib/Bot/Games')
-rw-r--r--lib/Bot/Games/Game.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm
index f70f5c7..4b848be 100644
--- a/lib/Bot/Games/Game.pm
+++ b/lib/Bot/Games/Game.pm
@@ -48,7 +48,9 @@ has last_turn_time => (
has is_over => (
is => 'rw',
isa => 'Bool',
+ default => 1,
command => 1,
+ needs_init => 0,
);
sub turn {