Skip to content

Commit

Permalink
Fixed|App: Checking if persistent data is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 01b8a97 commit 70cb0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libs/core/src/core/app.cpp
Expand Up @@ -654,7 +654,7 @@ Archive &App::mutablePersistentData()

bool App::hasPersistentData()
{
return (DE_APP->d->initFlags & DisablePersistentData) != 0;
return !(DE_APP->d->initFlags & DisablePersistentData);
}

ArchiveFolder &App::persistPackFolder()
Expand Down

0 comments on commit 70cb0b4

Please sign in to comment.