mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 20:53:50 +00:00
Bug fix for processing data paths in OpenMW Launcher.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
parent
771d50fe69
commit
c9a1789db8
1 changed files with 3 additions and 2 deletions
|
@ -188,7 +188,6 @@ void DataFilesPage::setupDataFiles()
|
|||
|
||||
// Put the paths in a boost::filesystem vector to use with Files::Collections
|
||||
Files::PathContainer dataDirs(variables["data"].as<Files::PathContainer>());
|
||||
mCfgMgr.processPaths(dataDirs);
|
||||
|
||||
std::string local(variables["data-local"].as<std::string>());
|
||||
if (!local.empty())
|
||||
|
@ -201,6 +200,8 @@ void DataFilesPage::setupDataFiles()
|
|||
dataDirs.push_back(mCfgMgr.getLocalPath());
|
||||
}
|
||||
|
||||
mCfgMgr.processPaths(dataDirs);
|
||||
|
||||
// Create a file collection for the dataDirs
|
||||
Files::Collections fileCollections(dataDirs, !variables["fs-strict"].as<bool>());
|
||||
|
||||
|
|
Loading…
Reference in a new issue