fix(game): inversion fonction d'arret isGameOver

This commit is contained in:
2025-12-19 18:49:10 +01:00
parent 86383155cd
commit eab6f4666f

View File

@@ -286,7 +286,7 @@ public class Game {
*/ */
// DOIT ETRE MODIFIÉE SI AJOUT CONDITION DE FIN // DOIT ETRE MODIFIÉE SI AJOUT CONDITION DE FIN
private boolean isGameOver() { private boolean isGameOver() {
return !(hasEnoughFuel()); return hasEnoughFuel();
} }
/** /**