summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.ts b/rules.ts
index e043307..8fdf1b9 100644
--- a/rules.ts
+++ b/rules.ts
@@ -1360,7 +1360,8 @@ states.choose_medallion = {
gen_spend_hero_points();
view.prompt = 'Earn a Medallion.';
for (let m of game.medallions[POOL_ID]) {
- gen_action_medallion(m);
+ if (m !== null)
+ gen_action_medallion(m);
}
if (!game.medallions[POOL_ID].some((m) => m !== null)) {
gen_action('skip');