diff options
author | Bastien Bouclet | 2018-06-24 21:34:59 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-06-29 13:31:55 +0200 |
commit | 52c89cb1e2bae4515f31ad894497c02c75820935 (patch) | |
tree | 6ec8ebef1fb06eb15d39c5d7102522132f522c3d | |
parent | 7884201b43f1eeae5def5d8d3371da586e7bc17e (diff) | |
download | scummvm-rg350-52c89cb1e2bae4515f31ad894497c02c75820935.tar.gz scummvm-rg350-52c89cb1e2bae4515f31ad894497c02c75820935.tar.bz2 scummvm-rg350-52c89cb1e2bae4515f31ad894497c02c75820935.zip |
MOHAWK: RIVEN: Disable autosaving while the game is not started
-rw-r--r-- | engines/mohawk/riven.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index a3a71f839b..4075f80c0f 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -726,7 +726,7 @@ void MohawkEngine_Riven::saveGameStateAndDisplayError(int slot, const Common::St } void MohawkEngine_Riven::tryAutoSaving() { - if (!canSaveGameStateCurrently()) { + if (!canSaveGameStateCurrently() || !isGameStarted()) { return; // Can't save right now, try again on the next frame } |