summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-16 12:50:43 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-16 12:50:43 +0200
commitc276fc6fc72f735943b9893bd1f31acc08984ffa (patch)
tree06922ee3bd69b96c5af498618e1e9eaf291072c2 /rules.js
parent8492a7bc6fb763d12c8669e6bf4e1f08d595e6fd (diff)
downloadplantagenet-c276fc6fc72f735943b9893bd1f31acc08984ffa.tar.gz
fix double push_undo when marching
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 6025895..390ea21 100644
--- a/rules.js
+++ b/rules.js
@@ -4290,7 +4290,6 @@ function prompt_march() {
return has_march;
}
function goto_march(to) {
- push_undo();
let from = get_lord_locale(game.command);
game.march = { from, to };
march_with_group_1();