mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 10:17:14 +00:00
Merge pull request #1257 from dafioram/mohawkRivenAutosaveCredits
MOHAWK: RIVEN: Don't allow autosaving during credits
This commit is contained in:
commit
8f9daa906c
@ -737,7 +737,7 @@ void MohawkEngine_Riven::saveGameStateAndDisplayError(int slot, const Common::St
|
||||
}
|
||||
|
||||
void MohawkEngine_Riven::tryAutoSaving() {
|
||||
if (!canSaveGameStateCurrently() || !isGameStarted()) {
|
||||
if (!canSaveGameStateCurrently() || !isGameStarted() || _gameEnded) {
|
||||
return; // Can't save right now, try again on the next frame
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user