diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-12-29 21:56:25 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | b5a56ff5ea536512ed9e34c3d9399327ad511698 (patch) | |
tree | 53c2b5febfdc5d0bb87b16ec33b42b27511d4153 /play.js | |
parent | 101de3d6d0ffc666bd92ade1880405a796e8630b (diff) | |
download | nevsky-b5a56ff5ea536512ed9e34c3d9399327ad511698.tar.gz |
End taking hits when garrison routs and no lord remains.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1312,7 +1312,7 @@ function update_cards() { ui.events_panel.classList.add("hide") } - if (view.hand.length > 0) { + if (view.hand && view.hand.length > 0) { ui.hand_panel.classList.remove("hide") ui.hand.replaceChildren() if (view.hand) { |