mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
*Fix a crash by looting player's corpse when the bg is unloaded.
--HG-- branch : trunk
This commit is contained in:
@@ -1107,6 +1107,7 @@ void Map::RemoveAllPlayers()
|
||||
{
|
||||
if(HavePlayers())
|
||||
{
|
||||
// this is happening for bg
|
||||
sLog.outError("Map::UnloadAll: there are still players in the instance at unload, should not happen!");
|
||||
|
||||
for(MapRefManager::iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr)
|
||||
|
||||
Reference in New Issue
Block a user