Core/Cosmetic: Execute OnStartup script hook before printing that startup is finished (#25401)

This commit is contained in:
Maks Szokalski
2020-09-05 10:25:09 +02:00
committed by GitHub
parent 25091ce006
commit 6812af37bb

View File

@@ -338,9 +338,9 @@ extern int main(int argc, char** argv)
TC_LOG_INFO("server.worldserver", "Starting up anti-freeze thread (%u seconds max stuck time)...", coreStuckTime);
}
TC_LOG_INFO("server.worldserver", "%s (worldserver-daemon) ready...", GitRevision::GetFullVersion());
sScriptMgr->OnStartup();
TC_LOG_INFO("server.worldserver", "%s (worldserver-daemon) ready...", GitRevision::GetFullVersion());
WorldUpdateLoop();