This commit is contained in:
gnieark 2016-06-02 23:24:15 +02:00
parent 58507d6953
commit 01b40c8561

View File

@ -139,7 +139,7 @@ function play(player){
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function(){if(xhr.readyState == 4){ xhr.onreadystatechange = function(){if(xhr.readyState == 4){
if(xhr.status == 200) { if(xhr.status == 200) {
addLog('message send to bot ' + p ':' + stringToSend); addLog('message send to bot ' + p + ':' + stringToSend);
addLog('his awnser is: ' + xhr.responseTEXT); addLog('his awnser is: ' + xhr.responseTEXT);
var reponse = eval(xhr.responseTEXT); var reponse = eval(xhr.responseTEXT);