summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-08-03 00:20:06 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitffd7a60601e70f3fe2c98860b108e8ffdc537548 (patch)
tree50bdac257e3281455842295f5c3f10148b3fe4fe /play.js
parentf9ad7df1164ad1067a95c5c198eac21bf8d69c75 (diff)
downloadplantagenet-ffd7a60601e70f3fe2c98860b108e8ffdc537548.tar.gz
victory_check init
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.js b/play.js
index ee62a12..df0040b 100644
--- a/play.js
+++ b/play.js
@@ -1257,8 +1257,8 @@ function on_update() {
ui.held_york.textContent = `${view.held1} Held`
ui.held_lancaster.textContent = `${view.held2} Held`
- ui.victory_check.style.top = (track_xy[view.victory_check]) + "px"
- ui.victory_check.style.left = (track_xy[view.victory_check]) + "px"
+ ui.victory_check.style.top = (track_xy[view.victory_check][1]) + "px"
+ ui.victory_check.style.left = (track_xy[view.victory_check][0]) + "px"
update_plan()
update_cards()