summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games.pm
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-01-25 18:16:55 -0500
committerdoy <doy@tozt.net>2009-01-25 18:16:55 -0500
commit5cef1e27b88289cd17c914d373b3525a96420d24 (patch)
treeda1e82bd3b35d1fe89717c6cf10966b63bda30b1 /lib/Bot/Games.pm
parentbc56156be1081cdd55ccc60d9dfb9d00b1c40ea7 (diff)
downloadbot-games-5cef1e27b88289cd17c914d373b3525a96420d24.tar.gz
bot-games-5cef1e27b88289cd17c914d373b3525a96420d24.zip
make moose actually call BUILD
Diffstat (limited to 'lib/Bot/Games.pm')
-rw-r--r--lib/Bot/Games.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bot/Games.pm b/lib/Bot/Games.pm
index b3554e7..0479e8e 100644
--- a/lib/Bot/Games.pm
+++ b/lib/Bot/Games.pm
@@ -5,7 +5,8 @@ use Module::Pluggable
search_path => 'Bot::Games::Game',
except => ['Bot::Games::Game::Ghostlike'],
sub_name => 'games';
-extends 'Bot::BasicBot';
+extends 'Bot::BasicBot', 'Moose::Object';
+after new => sub { shift->BUILDALL };
has prefix => (
is => 'rw',