summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-07 17:16:35 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitdaa3adcb497a290f20fc1373d6b08be11d0fc403 (patch)
tree1b2cd78c67be6e2c522ed4005a867b357a4c123e /rules.js
parentf882ef1e282191424ffad024df64694e9423def2 (diff)
downloadplantagenet-daa3adcb497a290f20fc1373d6b08be11d0fc403.tar.gz
fix undo during march
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 5609abb..eda2573 100644
--- a/rules.js
+++ b/rules.js
@@ -4006,10 +4006,9 @@ states.intercept_exiles = {
// === Exile ===
function goto_exiles() {
- clear_undo()
let here = get_lord_locale(game.command)
-
if (has_enemy_lord(here)) {
+ clear_undo()
game.state = "exiles"
set_active_enemy()
} else {