This commit is contained in:
Gnieark 2016-06-30 14:22:08 +02:00
parent 0a37165c76
commit f77b172b85
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ switch ($_POST['act']){
//check if bots exists //check if bots exists
$bots=get_Bots_Array('tron'); $bots=get_Bots_Array('tron');
$botsArray = json_decode($_POST['bots']);
$bot1Exists = false; $bot1Exists = false;
$bot2Exists = false; $bot2Exists = false;

View File

@ -76,7 +76,7 @@ function tron(xd_check){
var botsList=[]; var botsList=[];
var i=0; var i=0;
while(document.getElementById('selectBot' + i)){ while(document.getElementById('selectBot' + i)){
botsList.push(document.getElementById('selectBot' + i)).value; botsList.push(document.getElementById('selectBot' + i).value);
i++; i++;
} }