This commit is contained in:
Gnieark 2016-07-04 07:38:54 +02:00
parent e31fc90009
commit d21452df12
2 changed files with 1 additions and 2 deletions

View File

@ -85,7 +85,7 @@ switch ($_POST['act']){
case "play":
//check for correct game ID
if($_POST['gameId'] !== $_SESSION['gameId']){
if($_POST['gameId'] !=== $_SESSION['gameId']){
echo '{"status":"error"}';
die;
}

View File

@ -69,7 +69,6 @@ function applyInitMessage(req,xd_check){
}
addLog(ret['logs']);
if(ret['status'] == "OK"){
alert(ret['gameId']);
play(ret['gameId'],xd_check);
}