From 9495e7512d91fd4fc8a78b693554bbec95b783a7 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Mon, 11 Jul 2016 19:23:52 +0200 Subject: [PATCH] . --- src/arenas/tron/js.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index 412587c..1ed0111 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -102,8 +102,10 @@ function play(gameId,xd_check){ req.onreadystatechange = function(){ if(req.readyState == 4){ if(req.status == 200) { - addLog(req.responseText); - + addLog(req.responseText); + var reponse = JSON.parse(req.responseText); + + }else{ }