summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-04 13:16:22 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit08598a2022728dfbac4cdc1b72b4b29bab833414 (patch)
treef18c11bb908fb18b34d9e3e295e6bddb804a8628 /rules.js
parent975598ddc6c69e7ae38876635aeacdfe439f75b9 (diff)
downloadnevsky-08598a2022728dfbac4cdc1b72b4b29bab833414.tar.gz
Fix Osilian Revolt - Teutons choose.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 0b58a89..9870a08 100644
--- a/rules.js
+++ b/rules.js
@@ -2463,6 +2463,7 @@ states.valdemar = {
function goto_russian_event_osilian_revolt() {
if (is_lord_on_map(LORD_ANDREAS) || is_lord_on_map(LORD_HEINRICH)) {
+ set_active_enemy()
game.state = "osilian_revolt"
game.count = 2
} else {
@@ -2483,6 +2484,7 @@ states.osilian_revolt = {
},
service(lord) { game.who = lord },
calendar(turn) {
+ set_active_enemy()
set_lord_calendar(game.who, turn)
game.who = NOBODY
end_immediate_event()