summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 417951c..47b62d3 100644
--- a/rules.js
+++ b/rules.js
@@ -3701,7 +3701,7 @@ function goto_flip_5_or_6_from_nearest_train(power, list) {
game.selected = []
for (let p of list)
if (game.pos[p] < ELIMINATED && !is_out_of_supply(p))
- if (!set_has(game.supply, game.pos[p]))
+ if (!game.supply || !set_has(game.supply, game.pos[p]))
game.selected.push(p)
delete game.supply