diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-13 17:04:09 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | 1b00669d128090cc5c12f9a4223a19498fa746c3 (patch) | |
tree | feb34abe4dd228fa17bbde6afa0abfdb2972fe1a /rules.js | |
parent | a99e356ecc08b0718b7870a348b7c57ac16098b1 (diff) | |
download | table-battles-1b00669d128090cc5c12f9a4223a19498fa746c3.tar.gz |
reserve special rule terminology
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2593,9 +2593,12 @@ function should_enter_reserve(c) { return map_get(game.cubes, S37_THE_FOG, 0) === 0 } - for (let t of reserve) - if (is_routed(t)) - return true + if (Array.isArray(reserve)) { + for (let t of reserve) { + if (is_routed(t)) + return true + } + } if (game.scenario === S30_EDGEHILL) { if (c === S30_BALFOUR || c === S30_STAPLETON) { |