summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-21 23:14:36 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-21 23:14:46 +0200
commitb1204cfb613a336af30243bb65555585f31f8e93 (patch)
tree72cc2a3bae4e5f8a5a616389d5302ab4015ed4e5
parentc44e390da7c57fbd04c72605294bb4b076c33f87 (diff)
downloadplantagenet-b1204cfb613a336af30243bb65555585f31f8e93.tar.gz
Reset game.who when entering death check.
-rw-r--r--rules.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.ts b/rules.ts
index 19529ce..5ce1e68 100644
--- a/rules.ts
+++ b/rules.ts
@@ -7393,7 +7393,6 @@ states.battle_losses = {
action_losses(lord, MILITIA)
},
done() {
- game.who = NOBODY
goto_death_check()
},
}
@@ -7492,6 +7491,7 @@ function gen_each_friendly_routed_vassal() {
}
function goto_death_check() {
+ game.who = NOBODY
log_h4("Death Check")