From 776f8ed88c885e75f24c407eeaa0035fe8f5bf83 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 25 Jan 2021 14:31:37 +0100 Subject: [PATCH] Fixes #81 --- squirrelbattle/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squirrelbattle/game.py b/squirrelbattle/game.py index 7d1bc4c..1513695 100644 --- a/squirrelbattle/game.py +++ b/squirrelbattle/game.py @@ -192,7 +192,7 @@ class Game: # We move up on the ladder of the beginning, # 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 self.map_index += 1 if move_down else -1 if self.map_index == -1: