home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In web client, fix buggy attempt at drawing empty map.
[plomrogue2]
/
rogue_chat.html
diff --git
a/rogue_chat.html
b/rogue_chat.html
index dd037e20997fbd620cd97228d40a94841b8e1d25..f4aa6ff522d4ebc6e1f1c0ee49cb99cde4c357e8 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-899,6
+899,9
@@
let tui = {
this.full_refresh();
},
draw_map: function() {
+ if (!game.turn_complete && this.map_lines.length == 0) {
+ return;
+ }
if (game.turn_complete) {
let map_lines_split = [];
let line = [];