X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance2?a=blobdiff_plain;f=rogue_chat.html;h=1ba0ff1f6fcf02debf88eaefcc07b2c9e71c3d07;hb=80814ef774cbdf10820001490aa45681af44056f;hp=d8d9db7c896535082a37e36ff8ac9bc3b25ebc5c;hpb=017484da7f2648254dda67a30a64ddd699dc0efc;p=plomrogue2 diff --git a/rogue_chat.html b/rogue_chat.html index d8d9db7..1ba0ff1 100644 --- 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) {