1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

[Regression] Fix horribly broken fallback loading

This commit is contained in:
Alexei Dobrohotov 2019-09-21 15:05:12 +03:00 committed by GitHub
parent 2d20905d93
commit 0a97dd8e84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,10 +39,7 @@ namespace Fallback
std::string key(temp.substr(0, sep));
std::string value(temp.substr(sep + 1));
if (map->mMap.find(key) == map->mMap.end())
{
map->mMap.insert(std::make_pair(key, value));
}
map->mMap[key] = value;
}
}
}