[Server] Call OnServerPostInit after OnRequestDataFileList

This allows different actions to be taken in OnServerPostInit based on what the data files being used are.
This commit is contained in:
David Cernat 2019-03-12 05:36:33 +02:00
parent a0ec9dfd2e
commit 331fa86844

View file

@ -585,8 +585,8 @@ void Networking::InitQuery(std::string queryAddr, unsigned short queryPort)
void Networking::postInit()
{
Script::Call<Script::CallbackIdentity("OnServerPostInit")>();
Script::Call<Script::CallbackIdentity("OnRequestDataFileList")>();
Script::Call<Script::CallbackIdentity("OnServerPostInit")>();
}
PacketPreInit::PluginContainer &Networking::getSamples()