diff --git a/apps/openmw/mwstate/statemanagerimp.cpp b/apps/openmw/mwstate/statemanagerimp.cpp index 4f5ecfc8eb..d9ac2bc654 100644 --- a/apps/openmw/mwstate/statemanagerimp.cpp +++ b/apps/openmw/mwstate/statemanagerimp.cpp @@ -178,7 +178,6 @@ void MWState::StateManager::newGame(bool bypass) MWBase::Environment::get().getWorld()->startNewGame(bypass); mState = State_Running; - MWBase::Environment::get().getLuaManager()->newGameStarted(); MWBase::Environment::get().getWindowManager()->fadeScreenOut(0); MWBase::Environment::get().getWindowManager()->fadeScreenIn(1); diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index 84f4a6de2c..227c9adfa0 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -353,6 +353,8 @@ namespace MWWorld else mGlobalVariables[Globals::sCharGenState].setInteger(-1); + MWBase::Environment::get().getLuaManager()->newGameStarted(); + if (bypass && !mStartCell.empty()) { ESM::Position pos;