Skip to content

Commit

Permalink
libcommon|GameSession: Revert changes inadvertently included in previ…
Browse files Browse the repository at this point in the history
…ous commit
  • Loading branch information
danij-deng committed Apr 11, 2014
1 parent 4395bce commit 3371af7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/plugins/common/src/gamesession.cpp
Expand Up @@ -233,7 +233,7 @@ DENG2_PIMPL(GameSession)
GameRuleset *newRules;
try
{
newRules = GameRuleset::fromRecord(metadata.subrecord("ruleset"));
newRules = GameRuleset::fromRecord(metadata.subrecord("gameRules"));
}
catch(Record::NotFoundError const &)
{
Expand All @@ -245,7 +245,7 @@ DENG2_PIMPL(GameSession)
<< session.path();

// Use the current rules as our basis.
newRules = GameRuleset::fromRecord(metadata.subrecord("ruleset"), &rules);
newRules = GameRuleset::fromRecord(metadata.subrecord("gameRules"), &rules);
}
self.applyNewRules(*newRules);
delete newRules; newRules = 0;
Expand Down

0 comments on commit 3371af7

Please sign in to comment.