summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-29 23:45:52 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commit29a478d40e84fcade3768428d1968daf59ed5885 (patch)
treed110d8273e620a30485d88debf2ede5c6312f24e
parentef0ef6bf2665e6100f039ed72478cb73dadf7250 (diff)
downloadfriedrich-29a478d40e84fcade3768428d1968daf59ed5885.tar.gz
fix supply check
-rw-r--r--rules.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 579da55..da67424 100644
--- a/rules.js
+++ b/rules.js
@@ -2829,8 +2829,6 @@ function set_in_supply(p) {
}
function has_supply_line(p) {
- if (!game.supply)
- return false
let s = game.pos[p]
if (set_has(all_home_or_depot_cities[game.power], s))
return true
@@ -3038,7 +3036,7 @@ function goto_clock_of_fate() {
return
if (game.turn <= 5) {
- log("# End of Turn " + game.turn)
+ log("# Fate")
log("$" + (game.turn + 48 + 6))
} else {
// remove non-stroke of fate card from last turn