From 84c87bb49f4e4dd5dad535b2f0403d91dd9fdfb2 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sun, 27 Oct 2024 22:22:00 +0000 Subject: Fix undeclared variable --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.3