diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |