Skip to content

Commit

Permalink
Fixed preference->set not adding new preferences.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsharpoblunto committed Oct 19, 2014
1 parent 47d4a8e commit c88fb83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Matchstick/src/core/core.impl/MGDFGameImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ void Game::SetPreference( const char *name, const char *value )
if ( it != _preferences.end() ) {
it->second = value;
}
else {
_preferences.insert(std::make_pair(name, value));
}
}

void Game::ResetPreferences()
Expand Down

0 comments on commit c88fb83

Please sign in to comment.