From 367eaf616803e6940b02a75971d47ed56eb7a33d Mon Sep 17 00:00:00 2001 From: gnieark Date: Wed, 29 Jun 2016 23:45:16 +0200 Subject: [PATCH] fix js --- src/arenas/tron/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index 171cc3d..d695df5 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -14,7 +14,7 @@ function createElemNS(type,attributes){ function changeSelect(number,botId){ //show an other selector if bot is chosen var next = parseInt(number) + 1; - if((botId > 0) && (botId < 12)){ + if((botId > 0) && (number < 12)){ if(document.getElementById('selectBot' + next)){ return; }else{