summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 5f7dc43..8f3b780 100644
--- a/play.js
+++ b/play.js
@@ -513,7 +513,7 @@ if (!view.is_pwr_struggle) {
// CEAUSESCU
-if (view.ceausescu_cards.length > 0 && view.is_pwr_struggle === true) {
+if (view.ceausescu_cards && view.ceausescu_cards.length > 0 && view.is_pwr_struggle === true) {
document.getElementById("ceausescu_panel").classList.remove("hide")
for (let c of view.ceausescu_cards) {
let power_card = ui.power_cards[c]