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:
parent
2d20905d93
commit
0a97dd8e84
1 changed files with 1 additions and 4 deletions
|
@ -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));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue