Fix an extra frame being rendered while clicking on Save Game button (#11050)

This commit is contained in:
Ihar Hubchyk
2026-10-10 22:44:42 +11:00
committed by GitHub
parent 3042b215fe
commit 08602be2fa
+1
View File
@@ -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();
}