diff --git a/server/commands.coffee b/server/commands.coffee index 3085497..1fa6b3a 100644 --- a/server/commands.coffee +++ b/server/commands.coffee @@ -355,6 +355,8 @@ makeOwnerCommand "eval", (user, room, next, pieces...) -> desc "Makes the battle timed" makeCommand "timer", (user, room, next) -> + if !(_.has room, "turn") + return controller = server_.findBattle(room.id) isBattler = false player = room.getPlayer(user.id)