mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:53:50 +00:00
Fix for processing tokens inside data-local config option.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
parent
e0206edc44
commit
d5f1d7eed7
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,6 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
|
|||
engine.enableFSStrict(variables["fs-strict"].as<bool>());
|
||||
|
||||
Files::PathContainer dataDirs(variables["data"].as<Files::PathContainer>());
|
||||
cfgMgr.processPaths(dataDirs);
|
||||
|
||||
std::string local(variables["data-local"].as<std::string>());
|
||||
if (!local.empty())
|
||||
|
@ -173,6 +172,8 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
|
|||
dataDirs.push_back(cfgMgr.getLocalPath());
|
||||
}
|
||||
|
||||
cfgMgr.processPaths(dataDirs);
|
||||
|
||||
engine.setDataDirs(dataDirs);
|
||||
|
||||
engine.setResourceDir(variables["resources"].as<std::string>());
|
||||
|
|
Loading…
Reference in a new issue