Call TriggerFinish on next frame outside popup

This commit is contained in:
Eloren1 committed 2026-05-31 20:27:07 +03:00
1 parent 23aef44ae1
commit 7734c5f8f5
1 file changed
+2 -1
+2 -1
View File
@@ -410,7 +410,8 @@ void GamePauseScreen::CreateSavestateControls(UI::LinearLayout *leftColumnItems,
int slotNum = v->GetSlot();
auto doLoad = [this, slotNum]() {
SaveState::LoadSlot(saveStatePrefix_, slotNum, &ShowMessageAfterSaveStateAction);
TriggerFinish(DR_CANCEL);
finishNextFrame_ = true;
finishNextFrameResult_ = DR_CANCEL;
};
if (g_Config.bConfirmLoadState) {
auto pa = GetI18NCategory(I18NCat::PAUSE);