mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 20:39:42 +00:00
fixing case broke sorting in script context
This commit is contained in:
parent
2130ec39d6
commit
4e04131957
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ bool CSMWorld::ScriptContext::isId (const std::string& name) const
|
|||
mIds = mData.getIds();
|
||||
|
||||
std::for_each (mIds.begin(), mIds.end(), &Misc::StringUtils::lowerCase);
|
||||
std::sort (mIds.begin(), mIds.end());
|
||||
|
||||
mIdsUpdated = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue