diff --git a/src/scenes/directory_search.py b/src/scenes/directory_search.py index 96916b7..38654ee 100644 --- a/src/scenes/directory_search.py +++ b/src/scenes/directory_search.py @@ -159,6 +159,8 @@ def __attacks(world: World): """ Déclenche les attaques de Edmond. """ + if world[State] == State.GAME_OVER: + return world[AttackTimer] = AttackTimer(world[AttackTimer] + world[Delta]) timer = world[AttackTimer] if timer >= world[AttackSpeed] and world[State] == State.MOVING: