From 6e960c317711557fdd5e52e5e11333df69a99624 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 1 May 2019 02:58:27 +0200 Subject: [PATCH] Fix map indentation handling bug in client cursor movement. --- new/example_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/new/example_client.py b/new/example_client.py index 88939ba..2796005 100755 --- a/new/example_client.py +++ b/new/example_client.py @@ -554,7 +554,8 @@ class TUI: def move_examiner(direction): start_pos = self.examiner_position new_examine_pos = self.game.map_geometry.move(start_pos, direction, - self.game.map_.size) + self.game.map_.size, + self.game.map_.start_indented) if new_examine_pos[0] == (0,0): self.examiner_position = new_examine_pos self.to_update['map'] = True -- 2.30.2