From 2f741489d840eeeef2fbfbbc88767d22a8fda553 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 4 May 2013 01:17:11 -0700 Subject: [PATCH] Fix team preview --- js/client-battle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-battle.js b/js/client-battle.js index 88d404041..f17c163e1 100644 --- a/js/client-battle.js +++ b/js/client-battle.js @@ -464,7 +464,7 @@ case 'team': var controls = '
'; - if (!this.choice) { + if (!this.choice || !this.choice.done) { this.choice = { teamPreview: [1,2,3,4,5,6].slice(0,switchables.length), done: 0,