1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 20:15:32 +00:00

Fixed data-local directory handling in the launcher

This commit is contained in:
Pieter van der Kloet 2012-09-16 03:01:48 +02:00
parent 3e794a6087
commit 97326ffdbf

View file

@ -208,12 +208,10 @@ bool DataFilesPage::setupDataFiles()
std::string local = variables["data-local"].as<std::string>();
if (!local.empty()) {
mDataLocal.push_back(Files::PathContainer::value_type(local));
mDataDirs.push_back(Files::PathContainer::value_type(local));
mDataLocal.push_back(Files::PathContainer::value_type(local)); // For config writing
}
if (mDataDirs.size()>1)
mDataDirs.resize (1);
mCfgMgr.processPaths(mDataDirs);
while (mDataDirs.empty()) {