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:
parent
2d20905d93
commit
0a97dd8e84
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user