home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
017484d
)
In web client, fix broken annotation hints.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 10 Dec 2020 23:34:29 +0000
(
00:34
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 10 Dec 2020 23:34:29 +0000
(
00:34
+0100)
rogue_chat.html
patch
|
blob
|
history
diff --git
a/rogue_chat.html
b/rogue_chat.html
index d8d9db7c896535082a37e36ff8ac9bc3b25ebc5c..1ba0ff1f6fcf02debf88eaefcc07b2c9e71c3d07 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-1043,8
+1043,9
@@
let tui = {
};
map_lines_split.push(line);
if (this.map_mode == 'terrain + annotations') {
- for (const coordinate of explorer.info_hints) {
- map_lines_split[coordinate[0]][coordinate[1]] = 'A ';
+ for (const [coordinate, _] of Object.entries(explorer.annotations)) {
+ const yx = coordinate.split(',')
+ map_lines_split[yx[0]][yx[1]] = 'A ';
}
} else if (this.map_mode == 'terrain + things') {
for (const p in game.portals) {