diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-27 16:00:37 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-27 16:00:37 +0000 |
commit | 54bbd6d6c9b5758884b1a42fbac6cff727873642 (patch) | |
tree | d2764d4cc66a54273cc36b893010182da22566ad | |
parent | 9971dc265828ac89d465ed9955efd3f86b3fe956 (diff) | |
download | 1989-dawn-of-freedom-54bbd6d6c9b5758884b1a42fbac6cff727873642.tar.gz |
Add check for view.show_opp_hand
-rw-r--r-- | play.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -666,9 +666,9 @@ function on_update() { if (view.power_hand) for (let c of view.power_hand) ui.power_hand.appendChild(ui.power_cards[c]) - + ui.opp_hand.replaceChildren() - if (view.opp_hand) + if (view.show_opp_hand && view.opp_hand) for (let c of view.opp_hand) ui.opp_hand.appendChild(ui.cards[c]) |