From: Christian Heller Date: Fri, 6 Nov 2020 01:57:02 +0000 (+0100) Subject: Fix curses client movement help. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/calendar?a=commitdiff_plain;h=7d2d722ff0e2c8cfef0e7d5d62c760abc78749ce;p=plomrogue2-experiments Fix curses client movement help. --- diff --git a/new2/rogue_chat_curses.py b/new2/rogue_chat_curses.py index a41ac73..4d994be 100755 --- a/new2/rogue_chat_curses.py +++ b/new2/rogue_chat_curses.py @@ -225,7 +225,10 @@ class TUI: self.log_msg(" :P or :play - switch to play mode"); self.log_msg(" :? or :study - switch to study mode"); self.log_msg("commands common to study and play mode:"); - self.log_msg(" w,a,s,d - move"); + if type(self.game.map_geometry) == MapGeometrySquare: + self.log_msg(" w,a,s,d - move"); + elif type(self.game.map_geometry) == MapGeometryHex: + self.log_msg(" e,d,c,x,s,w - move"); self.log_msg(" C - switch to chat mode"); self.log_msg("commands specific to play mode:"); self.log_msg(" E - write following ASCII character");