From 4b85aabea3b5d5b73e7469f308d953ff0b735467 Mon Sep 17 00:00:00 2001 From: CoCoSol007 Date: Sun, 7 Jan 2024 11:50:10 +0100 Subject: [PATCH] changement du mode ou peu spawn de REVERSE --- src/scenes/game.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scenes/game.py b/src/scenes/game.py index fd38afb..b763856 100644 --- a/src/scenes/game.py +++ b/src/scenes/game.py @@ -181,7 +181,8 @@ class Bonus(Enum): @staticmethod def aleatoire(world: World): - max = 3 if world[GameMode] == GameMode.ONE else 2 + # on creer un maw pour que en 1vIA il n'y a pas de REVERSE. + max = 3 if world[GameMode] == GameMode.TWO else 2 type = random.randint(0, max) match type: case 0: -- 2.43.4