summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/play.js b/play.js
index 6f7447d..3ea8f94 100644
--- a/play.js
+++ b/play.js
@@ -315,6 +315,10 @@ function on_update() {
ui.name[p1].textContent = data.scenarios[view.scenario].players[0].name
ui.name[p2].textContent = data.scenarios[view.scenario].players[1].name
+ let w1 = data.cards[view.front[0][0]].wing
+ let w2 = data.cards[view.front[1][0]].wing
+
+ console.log("W", w1, w2)
ui.role_name[p1].textContent = data.scenarios[view.scenario].players[0].name
ui.role_name[p2].textContent = data.scenarios[view.scenario].players[1].name