1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-21 21:44:06 +00:00

Fix "failed to open file" error when no startup script is given

This commit is contained in:
scrawl 2014-09-09 18:28:17 +02:00
parent dd5f4947d7
commit 616148e168

View file

@ -259,6 +259,7 @@ namespace MWWorld
mWeatherManager = 0;
mWeatherManager = new MWWorld::WeatherManager(mRendering,&mFallback);
if (!mStartupScript.empty())
MWBase::Environment::get().getWindowManager()->executeInConsole(mStartupScript);
}