mirror of
https://github.com/ihhub/fheroes2.git
synced 2026-10-11 21:59:51 +00:00
Fix an extra frame being rendered while clicking on Save Game button (#11050)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user