summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-01 20:07:17 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-01 20:07:17 +0200
commit0bbe63ec7088262922d04d79678029fcd33bce0c (patch)
tree7ddbb45de40aed18f4c6b7ab57edf6fc174a5118 /rules.js
parent63186592400af0a10ca9b77f63f24b17a183d69b (diff)
downloadland-and-freedom-0bbe63ec7088262922d04d79678029fcd33bce0c.tar.gz
Fix logic to show trash panel when returning a card.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index a3cdfb2..046a003 100644
--- a/rules.js
+++ b/rules.js
@@ -1818,6 +1818,7 @@ states.return_card = {
const faction = get_active_faction();
gen_spend_hero_points();
view.prompt = 'Return a card to your hand.';
+ view.show_trash = true;
let possible = false;
for (let c of game.trash[faction]) {
if (c !== game.played_card) {