[Server] Fix multiple calls of ON_POST_INIT

This commit is contained in:
Koncord 2017-08-31 16:20:50 +08:00
parent b18c6dec9d
commit 1d16958910
2 changed files with 0 additions and 4 deletions

View file

@ -59,8 +59,6 @@ Networking::Networking(RakNet::RakPeerInterface *peer) : mclient(nullptr)
serverPassword = TES3MP_DEFAULT_PASSW; serverPassword = TES3MP_DEFAULT_PASSW;
ProcessorInitializer(); ProcessorInitializer();
luaState.getEventCtrl().Call<CoreEvent::ON_POST_INIT>();
} }
Networking::~Networking() Networking::~Networking()

View file

@ -424,6 +424,4 @@ void LuaState::loadMods()
} }
dataEnv["Core"]["LOADED_MODS"] = mods.size(); dataEnv["Core"]["LOADED_MODS"] = mods.size();
eventCtrl->Call<CoreEvent::ON_POST_INIT>();
} }