summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
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)