From 9ca42db5794bc392ad32c23c19da91ef297e73c6 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 25 Mar 2017 14:04:04 -0400 Subject: [PATCH] Remove unused code --- js/client-battle.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/js/client-battle.js b/js/client-battle.js index d1f9bda82..afb94449f 100644 --- a/js/client-battle.js +++ b/js/client-battle.js @@ -1158,11 +1158,7 @@ } } - if (this.partialDecisions) { - for (var i = 0; i < this.choice.choices.length; i++) { - this.sendDecision(this.choice.choices[i]); - } - } else if (this.choice.choices.length >= (this.choice.count || this.battle.mySide.active.length)) { + if (this.choice.choices.length >= (this.choice.count || this.battle.mySide.active.length)) { this.sendDecision(this.choice.choices); }