mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
fix(Core): possible crashfix (#7683)
This commit is contained in:
@@ -1634,10 +1634,7 @@ namespace lfg
|
||||
if (player->GetMapId() == uint32(dungeon->map))
|
||||
{
|
||||
// Remove bind to that map
|
||||
if (!sInstanceSaveMgr->PlayerIsPermBoundToInstance(player->GetGUID(), dungeon->map, player->GetDungeonDifficulty()))
|
||||
{
|
||||
sInstanceSaveMgr->PlayerUnbindInstance(player->GetGUID(), dungeon->map, player->GetDungeonDifficulty(), true);
|
||||
}
|
||||
sInstanceSaveMgr->PlayerUnbindInstance(player->GetGUID(), dungeon->map, player->GetDungeonDifficulty(), true);
|
||||
}
|
||||
|
||||
// Add the cooldown spell if queued for a random dungeon
|
||||
|
||||
Reference in New Issue
Block a user