forked from mirror/openmw-tes3mp
Merge remote-tracking branch 'aesylwinn/forceNewProject'
This commit is contained in:
commit
0b163f0a50
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ CSMDoc::Document::Document (const Files::ConfigurationManager& configuration,
|
||||||
if (mContentFiles.empty())
|
if (mContentFiles.empty())
|
||||||
throw std::runtime_error ("Empty content file sequence");
|
throw std::runtime_error ("Empty content file sequence");
|
||||||
|
|
||||||
if (!boost::filesystem::exists (mProjectPath))
|
if (mNew || !boost::filesystem::exists (mProjectPath))
|
||||||
{
|
{
|
||||||
boost::filesystem::path customFiltersPath (configuration.getUserDataPath());
|
boost::filesystem::path customFiltersPath (configuration.getUserDataPath());
|
||||||
customFiltersPath /= "defaultfilters";
|
customFiltersPath /= "defaultfilters";
|
||||||
|
|
Loading…
Reference in a new issue