From: Christian Heller Date: Thu, 29 Oct 2020 03:16:42 +0000 (+0100) Subject: Fix buggy study mode movement mappings. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/todo?a=commitdiff_plain;h=8253f6c5508daad0e1c4dabeb48ed195b1ffb3a1;p=plomrogue2-experiments Fix buggy study mode movement mappings. --- 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); }; }