diff --git a/apps/openmw/mwlua/luamanagerimp.cpp b/apps/openmw/mwlua/luamanagerimp.cpp index 74bd678005..ecb587d7c7 100644 --- a/apps/openmw/mwlua/luamanagerimp.cpp +++ b/apps/openmw/mwlua/luamanagerimp.cpp @@ -246,8 +246,8 @@ namespace MWLua return; if (!mPlayer.isEmpty()) throw std::logic_error("Player is initialized twice"); - mWorldView.setPlayer(ptr); mWorldView.objectAddedToScene(ptr); + mWorldView.setPlayer(ptr); mPlayer = ptr; LocalScripts* localScripts = ptr.getRefData().getLuaScripts(); if (!localScripts)