aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaks Szokalski <42069493+illunix@users.noreply.github.com>2020-09-05 10:25:09 +0200
committerGitHub <noreply@github.com>2020-09-05 10:25:09 +0200
commit6812af37bb39d086e013864122dd4e279aa3cbba (patch)
treee83758cdaf27d07dcbadc5942903b75e4f3a9cc5 /src
parent25091ce006ee95ab813730fa9cfd72a957fe1d5d (diff)
Core/Cosmetic: Execute OnStartup script hook before printing that startup is finished (#25401)
Diffstat (limited to 'src')
-rw-r--r--src/server/worldserver/Main.cpp4
1 files changed, 2 insertions, 2 deletions
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();