Renvoi du score au client lors d'un ser_partie.
This commit is contained in:
parent
a5c543d271
commit
64d66a7409
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user