.
This commit is contained in:
parent
e31fc90009
commit
d21452df12
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -69,7 +69,6 @@ function applyInitMessage(req,xd_check){
|
|||
}
|
||||
addLog(ret['logs']);
|
||||
if(ret['status'] == "OK"){
|
||||
alert(ret['gameId']);
|
||||
play(ret['gameId'],xd_check);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user