summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-06 23:13:19 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-07 19:05:52 +0200
commitc30bb468331f44801591ae4fbfce6f4132b8c873 (patch)
tree96acdb9048d4752efae19ac15be3184ea9d86f6a /play.js
parent78cbb621a1cef47ce2d79b40f5ab2a2c13872a9d (diff)
downloadtime-of-crisis-c30bb468331f44801591ae4fbfce6f4132b8c873.tar.gz
Fix castra display.
Fix castra display.
Diffstat (limited to 'play.js')
-rw-r--r--play.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/play.js b/play.js
index 58e083b..114f8da 100644
--- a/play.js
+++ b/play.js
@@ -1370,6 +1370,7 @@ function on_update() {
layout_stack(pi * 6 + ai, stack, region, inside ? 1 : 0, 16, 16)
} else {
avail_stack.push(e)
+ hide(ui.castra[pi][ai])
}
e.classList.toggle("unavailable", region === UNAVAILABLE)
e.classList.toggle("selected", view.selected_general === pi * 6 + ai)