diff --git a/Controller/UserController.php b/Controller/UserController.php index 3ce7ac3a..76490bae 100644 --- a/Controller/UserController.php +++ b/Controller/UserController.php @@ -268,6 +268,7 @@ class UserController } $points = $model->getPointsAtTheEnd($utilisateur->getEmail(), $idPartie); $dateDebut = $model->getDateDebut($idPartie); + global $test; require($rep . $vues['lobbyEnd']); } else { if ($index == 1 ){ diff --git a/View/src/pages/Multijoueur/LobbyEnd.php b/View/src/pages/Multijoueur/LobbyEnd.php index c515c9b1..92618c14 100644 --- a/View/src/pages/Multijoueur/LobbyEnd.php +++ b/View/src/pages/Multijoueur/LobbyEnd.php @@ -19,7 +19,7 @@
Vous avez terminer toute les énimges.
- +Votre score est de : points.
Temps restant avant la fin de la partie :