From 52c89cb1e2bae4515f31ad894497c02c75820935 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 24 Jun 2018 21:34:59 +0200 Subject: MOHAWK: RIVEN: Disable autosaving while the game is not started --- engines/mohawk/riven.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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 } -- cgit v1.2.3