[Server] Call OnServerPostInit after OnRequestDataFileList

This allows different actions to be taken in OnServerPostInit based on what the data files being used are.
0.7.0
David Cernat 6 years ago
parent a0ec9dfd2e
commit 331fa86844

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

Loading…
Cancel
Save