diff options
author | maximius <none@none> | 2009-09-23 20:19:21 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-23 20:19:21 -0700 |
commit | 906b00465ad7c41a018a6c6ea3f37b6c466d38cd (patch) | |
tree | df4aa409d11e89d85fa8d8c3e9a0c424df29f612 /src/game/World.cpp | |
parent | 8102372a67098e1af65888b0b411eb3b47814bf0 (diff) |
*add 11 new event hooks to the OnEvents system, by Hawthorne
--HG--
branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r-- | src/game/World.cpp | 4 |
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) |