Renvoi du score au client lors d'un ser_partie.

This commit is contained in:
John Charron 2011-02-10 11:33:42 +01:00
parent a5c543d271
commit 64d66a7409

View File

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