From 07b672cf5acf71c4a62377cecc3ab11d61db15e5 Mon Sep 17 00:00:00 2001 From: ZIRTR0X <76250995+ZIRTR0X@users.noreply.github.com> Date: Wed, 19 Jan 2022 22:10:46 +0100 Subject: [PATCH] Correction de fin du thread --- code/src/controller/GamePlayController.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/src/controller/GamePlayController.java b/code/src/controller/GamePlayController.java index 18df2ff..20ffbf7 100644 --- a/code/src/controller/GamePlayController.java +++ b/code/src/controller/GamePlayController.java @@ -272,11 +272,12 @@ public class GamePlayController implements Initializable { } if(caseActuelle.isEnd() == true){ textEnd.setText("Fin"); + finJeu = true; + timer(); } }else{ - System.out.println("Fin du jeu"); - finJeu = true; - timer(); + System.out.println("Case null"); + } }