fix
This commit is contained in:
parent
ae48bd4576
commit
d2ccf4741f
|
@ -46,13 +46,13 @@ switch ($_POST['act']){
|
||||||
|
|
||||||
//get a match id
|
//get a match id
|
||||||
$_SESSION['matchId']=get_unique_id();
|
$_SESSION['matchId']=get_unique_id();
|
||||||
$_SESSION['game']="conectFou";
|
$_SESSION['game']="connectFou";
|
||||||
|
|
||||||
//echo "plop".json_encode($_SESSION['map']);
|
//echo "plop".json_encode($_SESSION['map']);
|
||||||
case "fight":
|
case "fight":
|
||||||
|
|
||||||
if($_SESSION['game'] <> "connectFou"){
|
if($_SESSION['game'] <> "connectFou"){
|
||||||
erreur(500,"game non found");
|
error(500,"game non found");
|
||||||
}
|
}
|
||||||
|
|
||||||
//What player has to play?
|
//What player has to play?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user