Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed|libdoomsday: Don’t autosave configs during busy mode
When a game is being loaded, the full configuration may not have been
restored yet so rewriting it would mess things up.

IssueID #2191
  • Loading branch information
skyjake committed Jan 3, 2017
1 parent 521c47a commit a0bc6ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doomsday/apps/libdoomsday/src/doomsdayapp.cpp
Expand Up @@ -137,7 +137,10 @@ DENG2_PIMPL(DoomsdayApp)
{
DENG2_FOR_PUBLIC_AUDIENCE2(PeriodicAutosave, i)
{
i->periodicAutosave();
if (!busyMode.isActive())
{
i->periodicAutosave();
}
}
});
configSaveTimer.start();
Expand Down

0 comments on commit a0bc6ab

Please sign in to comment.