summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Bot/Games/Game.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm
index 6d0c29c..088a906 100644
--- a/lib/Bot/Games/Game.pm
+++ b/lib/Bot/Games/Game.pm
@@ -39,7 +39,7 @@ has players => (
command => 1,
);
command 'num_players';
-command 'has_player', formatter => sub { $_[0] ? 'true' : 'false' };
+command 'has_player', formatter => __PACKAGE__->meta->formatter_for('Bool');
has start_time => (
is => 'ro',