Skip to content

Commit

Permalink
Merge pull request #12129 from AdmiralCurtiss/mod-asset-fix
Browse files Browse the repository at this point in the history
VideoCommon/GraphicsModAsset: Error out if config key is not a string.
  • Loading branch information
AdmiralCurtiss committed Aug 22, 2023
2 parents dbe6a5f + 55fba7c commit 131dcef
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -44,6 +44,7 @@ bool GraphicsModAssetConfig::DeserializeFromConfig(const picojson::object& obj)
"Failed to load mod configuration file, specified asset '{}' has data "
"with a value for key '{}' that is not a string",
m_name, key);
return false;
}
m_map[key] = value.to_str();
}
Expand Down

0 comments on commit 131dcef

Please sign in to comment.