diff options
| author | Shauren <shauren.trinity@gmail.com> | 2020-01-02 14:19:35 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-10-04 00:19:38 +0200 |
| commit | 9b924522d0549dd67b10e2cbdfc20297dd21e182 (patch) | |
| tree | f0fcdf96902b7c497c1bc65db83621a8dfadf43a /src/server/game/World | |
| parent | a131542855d23022714a97640be1c8d68a741c31 (diff) | |
Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr
Diffstat (limited to 'src/server/game/World')
| -rw-r--r-- | src/server/game/World/World.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp index cda9e94cf83..21960dc7b0a 100644 --- a/src/server/game/World/World.cpp +++ b/src/server/game/World/World.cpp @@ -59,7 +59,6 @@ #include "GroupMgr.h" #include "GuildMgr.h" #include "InstanceLockMgr.h" -#include "InstanceSaveMgr.h" #include "IPLocation.h" #include "Language.h" #include "LanguageMgr.h" @@ -1878,8 +1877,7 @@ void World::SetInitialWorldSettings() // Must be called before `respawn` data TC_LOG_INFO("server.loading", "Loading instances..."); - sInstanceSaveMgr->LoadInstances(); - + sMapMgr->InitInstanceIds(); sInstanceLockMgr.Load(); TC_LOG_INFO("server.loading", "Loading Localization strings..."); @@ -2826,12 +2824,6 @@ void World::Update(uint32 diff) sGuildMgr->SaveGuilds(); } - { - TC_METRIC_TIMER("world_update_time", TC_METRIC_TAG("type", "Update instance reset times")); - // update the instance reset times - sInstanceSaveMgr->Update(); - } - // Check for shutdown warning if (_guidWarn && !_guidAlert) { |
