diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-16 12:50:43 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-16 12:50:43 +0200 |
commit | c276fc6fc72f735943b9893bd1f31acc08984ffa (patch) | |
tree | 06922ee3bd69b96c5af498618e1e9eaf291072c2 | |
parent | 8492a7bc6fb763d12c8669e6bf4e1f08d595e6fd (diff) | |
download | plantagenet-c276fc6fc72f735943b9893bd1f31acc08984ffa.tar.gz |
fix double push_undo when marching
-rw-r--r-- | rules.js | 1 | ||||
-rw-r--r-- | rules.ts | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -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(); @@ -5161,7 +5161,6 @@ function prompt_march() { } function goto_march(to: Locale) { - push_undo() let from = get_lord_locale(game.command) game.march = { from, to } march_with_group_1() |