mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
capitulate
This commit is contained in:
parent
243b5b6666
commit
36f5c819bb
@ -76,7 +76,10 @@ namespace Config
|
|||||||
if (!existingDir.isEmpty())
|
if (!existingDir.isEmpty())
|
||||||
{
|
{
|
||||||
// non-user settings can't be removed as we can't edit the openmw.cfg they're in
|
// non-user settings can't be removed as we can't edit the openmw.cfg they're in
|
||||||
mDataDirs.erase(std::remove_if(mDataDirs.begin(), mDataDirs.end(), [&](const SettingValue& dir) { return isUserSetting(dir) && dir.value == existingDir; }), mDataDirs.end());
|
mDataDirs.erase(
|
||||||
|
std::remove_if(mDataDirs.begin(), mDataDirs.end(),
|
||||||
|
[&](const SettingValue& dir) { return isUserSetting(dir) && dir.value == existingDir; }),
|
||||||
|
mDataDirs.end());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user