From 247d25a29ab3835916738caaa0b33d945d18fa3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Sat, 14 Jan 2023 15:52:39 +0100 Subject: [PATCH] test --- Controller/UserController.php | 1 + View/src/pages/Multijoueur/LobbyEnd.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 :