Skip to content

Commit

Permalink
Fixed|libcommon|GameSession: Flushing internal.save contents
Browse files Browse the repository at this point in the history
Evidently flushing and populating individual subfolders within an
Archive is not yet working correctly. For now at least, we'll have
to do SavedSession re-population at package level.
  • Loading branch information
danij-deng committed Apr 2, 2014
1 parent 89a962f commit 56a37e5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions doomsday/plugins/common/src/gamesession.cpp
Expand Up @@ -774,11 +774,7 @@ void GameSession::leaveMap()
}
#endif

mapsFolder.flush();
mapsFolder.setMode(File::ReadOnly);
mapsFolder.populate(); // Populate the new contents of the maps folder.

savedSession->flush();
savedSession->setMode(File::ReadOnly);
savedSession->populate();
}
Expand Down Expand Up @@ -876,11 +872,7 @@ void GameSession::leaveMap()
Writer_Delete(writer);
SV_CloseFile();

mapsFolder.flush();
mapsFolder.setMode(File::ReadOnly);
mapsFolder.populate(); // Populate the new contents of the maps folder.

savedSession->flush();
savedSession->setMode(File::ReadOnly);
savedSession->populate();

Expand Down

0 comments on commit 56a37e5

Please sign in to comment.