summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-20 17:02:10 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit7e66481e744bd3a58b3e30014c856a48ba1a39e3 (patch)
treefb94b637f4b413d027840527a8807c50a277eab2 /rules.js
parent87b73e5c218dc05f457e3ecb8156a18bc577c982 (diff)
downloadnevsky-7e66481e744bd3a58b3e30014c856a48ba1a39e3.tar.gz
Always Growth.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/rules.js b/rules.js
index 5d43d7c..9d023e6 100644
--- a/rules.js
+++ b/rules.js
@@ -9916,15 +9916,12 @@ function goto_end_campaign() {
set_active(P1)
- if (game.scenario === "Crusade on Novgorod") {
- if (game.turn === 8 || game.turn === 16) {
- log_h2("Growth")
- goto_growth()
- return
- }
+ if (current_turn() === 8 || current_turn() === 16) {
+ log_h2("Growth")
+ goto_growth()
+ } else {
+ goto_game_end()
}
-
- goto_game_end()
}
function count_vp1() {