home · contact · privacy
Fix curses client broken by mapping code changes.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 18 Nov 2020 02:54:26 +0000 (03:54 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 18 Nov 2020 02:54:26 +0000 (03:54 +0100)
rogue_chat_curses.py

index 18977d2cd4b13e3867f1d52d55fff745143398d1..8c629a596d2fe71fff4527b37263eded28a88495 100755 (executable)
@@ -424,7 +424,7 @@ class TUI:
                                                            self.window_width)
 
         def move_explorer(direction):
                                                            self.window_width)
 
         def move_explorer(direction):
-            target = self.game.map_geometry.move(self.explorer, direction)
+            target = self.game.map_geometry.move_yx(self.explorer, direction)
             if target:
                 self.explorer = target
                 self.query_info()
             if target:
                 self.explorer = target
                 self.query_info()