Skip to content

Commit

Permalink
Fixed logic error in checkAssets method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeki The Monkey committed Jul 29, 2021
1 parent eb4da14 commit cd735f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ConfigHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ void checkAssets(std::map<LogicalParameter::ID, std::shared_ptr<LogicalParameter

// Fonts
if (Settings::StatisticsFontPath != defAssetName)
if (!font.loadFromFile(Settings::ButtonTexturePath))
if (!font.loadFromFile(Settings::StatisticsFontPath))
{
ofErrLog << getReadingErrMsg(*parameters.find(LogicalParameter::ID::StatTextFont)->second);
parameters.find(LogicalParameter::ID::StatTextFont)->second->resetToDefaultValue();
Expand Down

0 comments on commit cd735f6

Please sign in to comment.