diff --git a/Model/UserModel.php b/Model/UserModel.php index 5027869b..523c013e 100644 --- a/Model/UserModel.php +++ b/Model/UserModel.php @@ -202,7 +202,7 @@ class UserModel public function getPointsAtTheEnd(string $mailUtilisateur, int $idPartie) : int{ global $playerNumberPerGame; - $points = 0; + $points = 10; $result = $this->resoudre_gateway->getAllByPartieAndUtilisateur($mailUtilisateur, $idPartie); foreach ($result as $row){ if ($row['temps'] == 0 || $row['ended'] == 0){