summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-13 23:13:35 +0200
committerTor Andersson <tor@ccxvii.net>2023-04-13 23:14:46 +0200
commit7df173f0b07857b1c2f89f6e2743bd8f5e3807eb (patch)
treecaa3273cf3468445265c8307f719c561fdb5a036
parent3b815474968a8b6ea88c612e075001a78c2d6830 (diff)
downloadnevsky-7df173f0b07857b1c2f89f6e2743bd8f5e3807eb.tar.gz
Add undo step between Novgorod Veche and Sea Trade.
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 587c74b..9192c3f 100644
--- a/rules.js
+++ b/rules.js
@@ -3751,6 +3751,7 @@ function goto_levy_call_to_arms() {
}
function end_levy_call_to_arms() {
+ clear_undo()
clear_lords_moved()
set_active_enemy()
if (game.active === P2)
@@ -4127,7 +4128,7 @@ states.novgorod_veche = {
}
},
end_call_to_arms() {
- clear_undo()
+ push_undo()
end_novgorod_veche()
},
card: action_held_event,
@@ -4140,7 +4141,7 @@ states.novgorod_veche_done = {
view.actions.end_call_to_arms = 1
},
end_call_to_arms() {
- clear_undo()
+ push_undo()
end_novgorod_veche()
},
}