From e2eb02fa59ac92ce53dd33330a06b45c8df73a2d Mon Sep 17 00:00:00 2001 From: Aaron Muir Hamilton Date: Thu, 24 Sep 2026 13:57:40 -0400 Subject: [PATCH] Refresh the replay list after deleting replays. Before this, starting a replay after a deletion loaded and ran the replay in the background without dismissing the replay list, and starting another one crashed on an assertion. Fixes #9246 --- binaries/data/mods/public/gui/replaymenu/replay_actions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binaries/data/mods/public/gui/replaymenu/replay_actions.js b/binaries/data/mods/public/gui/replaymenu/replay_actions.js index ec39bce146..43d29dc6dd 100644 --- a/binaries/data/mods/public/gui/replaymenu/replay_actions.js +++ b/binaries/data/mods/public/gui/replaymenu/replay_actions.js @@ -211,7 +211,8 @@ async function deleteReplayButtonPressed() error("Could not delete replay!"); // Refresh replay list - init(); + loadReplays(createReplaySelectionData(""), false); + displayReplayList(); replaySelection.selected = Math.min(selectedIndex, g_ReplaysFiltered.length - 1); }