deboguage
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 4f775a1afa
commit fa3e241041

@ -247,9 +247,9 @@ class UserController
$idPartie = $_GET['idPartie'];
$index = $_GET['index'];
$lastIndex = $model->getLastIndex($idPartie);
echo $lastIndex;
if ($lastIndex != 0 && $index == $lastIndex + 1) {
if ($model->checkGameIsEnd($idPartie)) {
echo" end";
$this->endGame();
return;
}

Loading…
Cancel
Save