From 1ec28003bc2fc7411726c098f2e47280a562766f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 9 Dec 2024 15:48:33 +0100 Subject: Fix glitch with removing eliminated generals from selection. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 6ee4a7c..eb3af37 100644 --- a/rules.js +++ b/rules.js @@ -4194,7 +4194,7 @@ states.retreat_eliminate_hits = { }, piece(p) { eliminate_general(p, false) - set_delete(game.selected, p) + array_remove_item(game.selected, p) resume_retreat() }, } -- cgit v1.2.3