From c276fc6fc72f735943b9893bd1f31acc08984ffa Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 16 May 2024 12:50:43 +0200 Subject: fix double push_undo when marching --- rules.js | 1 - rules.ts | 1 - 2 files changed, 2 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(); diff --git a/rules.ts b/rules.ts index 9ff1e62..fdecf5d 100644 --- a/rules.ts +++ b/rules.ts @@ -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() -- cgit v1.2.3