diff --git a/code/serveur/php/pticlic.php b/code/serveur/php/pticlic.php index 78fea74..876667f 100644 --- a/code/serveur/php/pticlic.php +++ b/code/serveur/php/pticlic.php @@ -438,7 +438,9 @@ function setGame() $db->exec("commit;"); // On renvoie une nouvelle partie pour garder le client toujours bien alimenté. + echo "{score:$score,newGame:"; game2json(randomGame()); + echo "}"; } /** La fonction principale.