diff options
author | Maks Szokalski <42069493+illunix@users.noreply.github.com> | 2020-09-05 10:25:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-05 10:25:09 +0200 |
commit | 6812af37bb39d086e013864122dd4e279aa3cbba (patch) | |
tree | e83758cdaf27d07dcbadc5942903b75e4f3a9cc5 /src | |
parent | 25091ce006ee95ab813730fa9cfd72a957fe1d5d (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.cpp | 4 |
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(); |