mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 18:39:59 +00: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();
|
||||
mRendering->resetCamera();
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->updatePlayer();
|
||||
|
||||
// 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.
|
||||
delete mWeatherManager;
|
||||
@ -283,6 +281,8 @@ namespace MWWorld
|
||||
|
||||
if (!mStartupScript.empty())
|
||||
MWBase::Environment::get().getWindowManager()->executeInConsole(mStartupScript);
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->updatePlayer();
|
||||
}
|
||||
|
||||
void World::clear()
|
||||
|
Loading…
x
Reference in New Issue
Block a user