summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-13 23:11:30 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commitda0130446329b1419d54904e1ab43aebefbfd3de (patch)
treefb5861977c46ef65174dd83614954a9890444c83 /play.js
parent40fd74d16cdd2749c512e38989783894b001d7b2 (diff)
downloadtable-battles-da0130446329b1419d54904e1ab43aebefbfd3de.tar.gz
flip the star
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/play.js b/play.js
index 5b5566e..436dce6 100644
--- a/play.js
+++ b/play.js
@@ -179,9 +179,8 @@ function create_formation_card(id) {
if (card.dice) {
if (card.morale === 2)
- append_div(e, "dice_area", card.dice + '<div class="star">&#x2605;</div>')
- else
- append_div(e, "dice_area", card.dice)
+ append_div(e, "star", '&#x2605;')
+ append_div(e, "dice_area", card.dice)
}
function create_action(a, ix) {