diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-09 17:28:44 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:47 +0100 |
commit | 005a221f87a6b1a24ee9ea38c2e57798401146fe (patch) | |
tree | 51dcbd17cee726f5a22d277653fc4a74c29e8153 /play.js | |
parent | 3787128803368f761acdd49303a9bc961e29d979 (diff) | |
download | table-battles-005a221f87a6b1a24ee9ea38c2e57798401146fe.tar.gz |
Inkerman & The Fog.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -111,6 +111,7 @@ function create_formation_slot(id, top) { let card = data.cards[id] let e = create_div("slot " + wing_name[card.wing]) + e.dataset.card = card.number register_animation(e, 250) @@ -119,9 +120,9 @@ function create_formation_slot(id, top) { e.appendChild(ui.cards[id]) } - if (card.special) + if (card.special || card.name === "The Fog") ui.slot_cubes[id] = append_div(e, "slot_cubes") - else + if (!card.special) ui.slot_sticks[id] = append_div(e, "slot_sticks") if (!top) { |