diff --git a/server/commands.coffee b/server/commands.coffee index 3cc4cab..3085497 100644 --- a/server/commands.coffee +++ b/server/commands.coffee @@ -357,7 +357,6 @@ desc "Makes the battle timed" makeCommand "timer", (user, room, next) -> controller = server_.findBattle(room.id) isBattler = false - console.log(user.id) player = room.getPlayer(user.id) if 4 not in controller.battle.conditions and player != null controller.battle.conditions.push(4) @@ -365,7 +364,7 @@ makeCommand "timer", (user, room, next) -> room.initTimer() room.startingTimer() room.onBeginTurn() - room.send + room.announce('warning', "The timer has been enabled by " + user.name) else if 4 in controller.battle.conditions user.announce(room.name, "error", "The timer is already enabled!") else if getPlayer == null