summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-09-09 21:23:19 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitdf7bfe79dfe506ca4197d4647c7bd269edaac5ab (patch)
treec1026488b0597935ef6a1328322bbe9a0d32555f
parent5554a4204b4e68285dd4cc3556a33222bb252c0e (diff)
downloadplantagenet-df7bfe79dfe506ca4197d4647c7bd269edaac5ab.tar.gz
road cost 1
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 672046e..f32e08c 100644
--- a/rules.js
+++ b/rules.js
@@ -2725,6 +2725,9 @@ function march_with_group_2() {
spend_march_action(1)
game.flags.first_march_highway = 1
}
+ else if (data.ways[way].type === 'road') {
+ spend_march_action(1)
+ }
else if (data.ways[way].type === 'path') {
spend_all_actions()
}