Skip to content

Commit

Permalink
#5108: Use the common getInfoFileExtension() method
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Nov 26, 2020
1 parent 0836528 commit 65f9d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiantcore/map/MapResource.cpp
Expand Up @@ -330,7 +330,7 @@ void MapResource::loadInfoFile(const RootNodePtr& root, const std::string& filen
try
{
std::string infoFilename(filename.substr(0, filename.rfind('.')));
infoFilename += game::current::getValue<std::string>(GKEY_INFO_FILE_EXTENSION);
infoFilename += getInfoFileExtension();

openFileStream(infoFilename, [&](std::istream& infoFileStream)
{
Expand Down

0 comments on commit 65f9d56

Please sign in to comment.