summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/play.js b/play.js
index 7deb683..6f7447d 100644
--- a/play.js
+++ b/play.js
@@ -145,6 +145,9 @@ function create_formation_card(id) {
let card = data.cards[id]
let e = create_div("card formation " + wing_name[card.wing])
+ if (card.squeeze)
+ e.classList.add("squeeze" + card.squeeze)
+
register_action(e, "card", id)
if (card.infantry || card.cavalry)