From 08602be2fa445bd13ebf417cb0c252d148dc7089 Mon Sep 17 00:00:00 2001 From: Ihar Hubchyk Date: Sat, 10 Oct 2026 19:44:42 +0800 Subject: [PATCH] Fix an extra frame being rendered while clicking on Save Game button (#11050) --- src/fheroes2/dialog/dialog_file.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fheroes2/dialog/dialog_file.cpp b/src/fheroes2/dialog/dialog_file.cpp index 028ccedcc..0ffaddb80 100644 --- a/src/fheroes2/dialog/dialog_file.cpp +++ b/src/fheroes2/dialog/dialog_file.cpp @@ -101,6 +101,7 @@ namespace else if ( le.MouseClickLeft( saveGameButton.area() ) || Game::HotKeyPressEvent( Game::HotKeyEvent::WORLD_SAVE_GAME ) ) { // Special case: since we show a window about file saving we don't want to display the current dialog anymore. background.hideWindow(); + display.updateNextRenderRoi( background.totalArea() ); return Interface::AdventureMap::Get().EventSaveGame(); }