From 710ac6e57b324638f981069d2189333da436c191 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Thu, 30 Jun 2016 13:54:34 +0200 Subject: [PATCH] 2 to 12 bots available --- 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 839b62b..065ae16 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -85,5 +85,5 @@ function tron(xd_check){ request.onreadystatechange = function(){applyInitMessage(request)}; request.open("POST", '/tron', true); request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); - request.send('act=initGame&xd_check=' + xd_check + '&bots=' + JSON.parse(botsList) + '&fullLogs=' + document.getElementById("fullLogs").checked); + request.send('act=initGame&xd_check=' + xd_check + '&bots=' + JSON.stringify(botsList) + '&fullLogs=' + document.getElementById("fullLogs").checked); }