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:
a81ea39
)
In web client, fix buggy attempt at drawing empty map.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 6 Dec 2020 18:32:06 +0000
(19:32 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 6 Dec 2020 18:32:06 +0000
(19:32 +0100)
rogue_chat.html
patch
|
blob
|
history
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 = [];