From 6812af37bb39d086e013864122dd4e279aa3cbba Mon Sep 17 00:00:00 2001 From: Maks Szokalski <42069493+illunix@users.noreply.github.com> Date: Sat, 5 Sep 2020 10:25:09 +0200 Subject: Core/Cosmetic: Execute OnStartup script hook before printing that startup is finished (#25401) --- src/server/worldserver/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/worldserver/Main.cpp') diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index a43663775ef..932c29be48a 100644 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -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(); -- cgit v1.2.3