Skip to content

Commit

Permalink
libdeng2|SavedSession: Only populate when certain about changes
Browse files Browse the repository at this point in the history
Population should only occur when there is certain knowledge that
the source data has change without FS2 being aware of it (or when
feed attachments are modified).
  • Loading branch information
skyjake committed Apr 5, 2014
1 parent f6c0611 commit 558958d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions doomsday/libdeng2/src/game/savedsession.cpp
Expand Up @@ -211,12 +211,8 @@ DENG2_PIMPL(SavedSession)
{
try
{
// Ensure we have up-to-date info about the package contents.
self.populate();

File const &file = self.locate<File const>("Info");
Block raw;
file >> raw;
self.locate<File const>("Info") >> raw;

metadata.parse(String::fromUtf8(raw));

Expand Down

0 comments on commit 558958d

Please sign in to comment.