mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
Core/MMaps: Only unload the navMeshQuery when instances are unloaded, suggestion by @Vlad852
closes #7631
This commit is contained in:
@@ -72,7 +72,6 @@ Map::~Map()
|
||||
sScriptMgr->DecreaseScheduledScriptCount(m_scriptSchedule.size());
|
||||
|
||||
MMAP::MMapFactory::createOrGetMMapManager()->unloadMapInstance(GetId(), i_InstanceId);
|
||||
MMAP::MMapFactory::createOrGetMMapManager()->unloadMap(GetId());
|
||||
}
|
||||
|
||||
bool Map::ExistMap(uint32 mapid, int gx, int gy)
|
||||
|
||||
Reference in New Issue
Block a user