mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
feat(Core/ScriptMgr): add new hook OnAfterUnloadAllMaps (#10279)
* feat(Core/ScriptMgr): add new hook * add desc * Update src/server/game/Scripting/ScriptDefines/WorldScript.cpp
This commit is contained in:
@@ -329,6 +329,8 @@ int main(int argc, char** argv)
|
||||
|
||||
sOutdoorPvPMgr->Die(); // unload it before MapMgr
|
||||
sMapMgr->UnloadAll(); // unload all grids (including locked in memory)
|
||||
|
||||
sScriptMgr->OnAfterUnloadAllMaps();
|
||||
});
|
||||
|
||||
// Start the Remote Access port (acceptor) if enabled
|
||||
|
||||
Reference in New Issue
Block a user