Fixes #81
This commit is contained in:
parent
284a22c92e
commit
776f8ed88c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue