This commit is contained in:
Gnieark 2016-05-11 11:20:59 +02:00
parent ae48bd4576
commit d2ccf4741f

View File

@ -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?