From d03fe696ce25af4efd63d5a1d2888e5c3d7b12fe Mon Sep 17 00:00:00 2001 From: doy Date: Mon, 27 Apr 2009 00:40:40 -0500 Subject: make is_over work properly as a command --- lib/Bot/Games/Game.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Bot/Games') 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 { -- cgit v1.2.3-54-g00ecf