This commit is contained in:
Yohann D'ANELLO 2021-01-25 14:31:37 +01:00
parent 284a22c92e
commit 776f8ed88c
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

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: