mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 20:36:42 +00:00
Fix "failed to open file" error when no startup script is given
This commit is contained in:
parent
dd5f4947d7
commit
616148e168
1 changed files with 2 additions and 1 deletions
|
@ -259,7 +259,8 @@ namespace MWWorld
|
||||||
mWeatherManager = 0;
|
mWeatherManager = 0;
|
||||||
mWeatherManager = new MWWorld::WeatherManager(mRendering,&mFallback);
|
mWeatherManager = new MWWorld::WeatherManager(mRendering,&mFallback);
|
||||||
|
|
||||||
MWBase::Environment::get().getWindowManager()->executeInConsole(mStartupScript);
|
if (!mStartupScript.empty())
|
||||||
|
MWBase::Environment::get().getWindowManager()->executeInConsole(mStartupScript);
|
||||||
}
|
}
|
||||||
|
|
||||||
void World::clear()
|
void World::clear()
|
||||||
|
|
Loading…
Reference in a new issue