mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
Call the WindowManager::updatePlayer after the startup script is run
This commit is contained in:
parent
1ffb9e1bf3
commit
c2240e3af1
@ -222,8 +222,6 @@ namespace MWWorld
|
|||||||
renderPlayer();
|
renderPlayer();
|
||||||
mRendering->resetCamera();
|
mRendering->resetCamera();
|
||||||
|
|
||||||
MWBase::Environment::get().getWindowManager()->updatePlayer();
|
|
||||||
|
|
||||||
// we don't want old weather to persist on a new game
|
// we don't want old weather to persist on a new game
|
||||||
// Note that if reset later, the initial ChangeWeather that the chargen script calls will be lost.
|
// Note that if reset later, the initial ChangeWeather that the chargen script calls will be lost.
|
||||||
delete mWeatherManager;
|
delete mWeatherManager;
|
||||||
@ -283,6 +281,8 @@ namespace MWWorld
|
|||||||
|
|
||||||
if (!mStartupScript.empty())
|
if (!mStartupScript.empty())
|
||||||
MWBase::Environment::get().getWindowManager()->executeInConsole(mStartupScript);
|
MWBase::Environment::get().getWindowManager()->executeInConsole(mStartupScript);
|
||||||
|
|
||||||
|
MWBase::Environment::get().getWindowManager()->updatePlayer();
|
||||||
}
|
}
|
||||||
|
|
||||||
void World::clear()
|
void World::clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user