diff options
author | doy <doy@tozt.net> | 2009-01-25 18:16:55 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-01-25 18:16:55 -0500 |
commit | 5cef1e27b88289cd17c914d373b3525a96420d24 (patch) | |
tree | da1e82bd3b35d1fe89717c6cf10966b63bda30b1 | |
parent | bc56156be1081cdd55ccc60d9dfb9d00b1c40ea7 (diff) | |
download | bot-games-5cef1e27b88289cd17c914d373b3525a96420d24.tar.gz bot-games-5cef1e27b88289cd17c914d373b3525a96420d24.zip |
make moose actually call BUILD
-rw-r--r-- | lib/Bot/Games.pm | 3 |
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', |