From 5e52d0186dde64d66fdb6eb995ed0c3e8bc5b1c8 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 12 Apr 2016 19:49:54 +0200 Subject: [PATCH] More feedback for /timer command --- server/commands.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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