From: Christian Heller Date: Wed, 1 May 2019 00:58:27 +0000 (+0200) Subject: Fix map indentation handling bug in client cursor movement. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/condition?a=commitdiff_plain;h=6e960c317711557fdd5e52e5e11333df69a99624;p=plomrogue2-experiments Fix map indentation handling bug in client cursor movement. --- 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