forked from teamnwah/openmw-tes3coop
[Server] Fix multiple calls of ON_POST_INIT
This commit is contained in:
parent
b18c6dec9d
commit
1d16958910
2 changed files with 0 additions and 4 deletions
|
@ -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()
|
||||||
|
|
|
@ -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>();
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue