From 30d41fa5fab14c04701df1a01d6eba32279bcc29 Mon Sep 17 00:00:00 2001 From: gnieark Date: Sat, 14 May 2016 23:01:51 +0200 Subject: [PATCH] erf --- src/arenas/connectFour/js.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arenas/connectFour/js.js b/src/arenas/connectFour/js.js index b9d6595..0e9d7ce 100644 --- a/src/arenas/connectFour/js.js +++ b/src/arenas/connectFour/js.js @@ -64,9 +64,9 @@ function connectFour(bot1,bot2,xd_check, newGame){ xhr.open("POST", '/connectFour', true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); if(newGame){ - var act=newFight; + var act='newFight'; }else{ - var act=fight; + var act='fight'; } xhr.send('act=' + act + '&bot1=' + bot1 + '&bot2=' + bot2 + '&xd_check=' + xd_check); }