aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index f3288d8c076..dd83aaef530 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1678,6 +1678,8 @@ void World::SetInitialWorldSettings()
sLog.SetLogDBLater(false);
}
+ Script->OnServerStartup();
+
sLog.outString("WORLD: World initialized");
}
@@ -2294,6 +2296,8 @@ void World::ShutdownServ(uint32 time, uint32 options, uint8 exitcode)
m_ShutdownTimer = time;
ShutdownMsg(true);
}
+
+ Script->OnServerShutdown();
}
/// Display a shutdown message to the user(s)