summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-27 22:22:00 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-27 22:22:00 +0000
commit84c87bb49f4e4dd5dad535b2f0403d91dd9fdfb2 (patch)
treeb233832fe40cccdc21bf761de54d06e35d14ac6a
parent3e36074596d23d78b48c0a999b57d5a6f3808030 (diff)
download1989-dawn-of-freedom-84c87bb49f4e4dd5dad535b2f0403d91dd9fdfb2.tar.gz
Fix undeclared variable
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 5654997..54cfd26 100644
--- a/rules.js
+++ b/rules.js
@@ -4019,7 +4019,7 @@ function discard_card(hand) {
}
function discard_from_table(card) {
- find_card = game.table_cards.indexOf(card)
+ let find_card = game.table_cards.indexOf(card)
game.table_cards.splice(find_card, 1)
game.strategy_discard.push(card)
}