summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-04-08 11:52:20 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commitbfa31491d5c7619c9aabbcf4623780ea4d3671d5 (patch)
tree23350afbf53d50f470b8533b3c9c328854a52c1d /rules.js
parent127de9a82e0a1c6e36057393931ca1ec5309922c (diff)
downloadwilderness-war-bfa31491d5c7619c9aabbcf4623780ea4d3671d5.tar.gz
Fix setting end year in Early War campaign.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index fa0e9f3..ed9a75d 100644
--- a/rules.js
+++ b/rules.js
@@ -9125,8 +9125,9 @@ function setup_1757(end_year, start_vp) {
game.events.diplo = 1;
}
-function setup_1755() {
+function setup_1755(end_year) {
game.year = 1755;
+ game.end_year = end_year;
game.season = EARLY;
game.vp = 0;
game.pa = SUPPORTIVE;