home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix buggy study mode movement mappings.
[plomrogue2-experiments]
/
new2
/
rogue_chat_nocanvas_monochrome.html
diff --git
a/new2/rogue_chat_nocanvas_monochrome.html
b/new2/rogue_chat_nocanvas_monochrome.html
index 09d400d8ca5c78eb6536fc042ffb10cf42de0a31..3219896b453c03cd57ce9d168769d5c6d892b569 100644
(file)
--- 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);
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) {
} else if (event.key === tui.key_left) {
- explorer.move('
righ
t');
+ explorer.move('
lef
t');
} else if (event.key === tui.key_right) {
} else if (event.key === tui.key_right) {
- explorer.move('
up
');
+ explorer.move('
right
');
} else if (event.key === tui.key_up) {
} else if (event.key === tui.key_up) {
- explorer.move('
down
');
+ explorer.move('
up
');
} else if (event.key === tui.key_down) {
} else if (event.key === tui.key_down) {
+ explorer.move('down');
+ } else if (event.key === 'e') {
tui.switch_mode(mode_annotate);
};
}
tui.switch_mode(mode_annotate);
};
}