diff --git a/WEB/Model/UserModel.php b/WEB/Model/UserModel.php index 493a1ff1..e1269e15 100644 --- a/WEB/Model/UserModel.php +++ b/WEB/Model/UserModel.php @@ -246,5 +246,6 @@ class UserModel } public function majDateDebut(int $idPartie) { $this->partie_gateway->majDateDebut($idPartie); + $_SESSION['tpsMaxPartie'] = $this->calculTpsMaXPartie($idPartie); } } \ No newline at end of file