1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +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 key(temp.substr(0, sep));
std::string value(temp.substr(sep + 1)); std::string value(temp.substr(sep + 1));
if (map->mMap.find(key) == map->mMap.end()) map->mMap[key] = value;
{
map->mMap.insert(std::make_pair(key, value));
}
} }
} }
} }