This commit is contained in:
Yohann D'ANELLO
2021-01-25 14:31:37 +01:00
parent 284a22c92e
commit 776f8ed88c

View File

@ -192,7 +192,7 @@ class Game:
# We move up on the ladder of the beginning, # We move up on the ladder of the beginning,
# down at the end of the stage # down at the end of the stage
move_down = y != self.map.start_y and x != self.map.start_x move_down = y != self.map.start_y or x != self.map.start_x
old_map = self.map old_map = self.map
self.map_index += 1 if move_down else -1 self.map_index += 1 if move_down else -1
if self.map_index == -1: if self.map_index == -1: