From 8253f6c5508daad0e1c4dabeb48ed195b1ffb3a1 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 29 Oct 2020 04:16:42 +0100 Subject: [PATCH] Fix buggy study mode movement mappings. --- new2/rogue_chat_nocanvas_monochrome.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 09d400d..3219896 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -580,15 +580,15 @@ document.addEventListener('keydown', (event) => { tui.switch_mode(mode_chat); } else if (event.key == 'p') { tui.switch_mode(mode_play); - } else if (event.key === 'a') { - explorer.move('left'); } else if (event.key === tui.key_left) { - explorer.move('right'); + explorer.move('left'); } else if (event.key === tui.key_right) { - explorer.move('up'); + explorer.move('right'); } else if (event.key === tui.key_up) { - explorer.move('down'); + explorer.move('up'); } else if (event.key === tui.key_down) { + explorer.move('down'); + } else if (event.key === 'e') { tui.switch_mode(mode_annotate); }; } -- 2.30.2