mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 07:15:36 +00:00
capitulate
This commit is contained in:
parent
243b5b6666
commit
36f5c819bb
1 changed files with 4 additions and 1 deletions
|
@ -76,7 +76,10 @@ namespace Config
|
|||
if (!existingDir.isEmpty())
|
||||
{
|
||||
// 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…
Reference in a new issue