fix(Core/DungeonFinder): Random Dungeon Finder always removes no perm… (#8561)
Fixes #8222
This commit is contained in:
parent
36aced608c
commit
1c77d8a9f2
1 changed files with 8 additions and 0 deletions
|
|
@ -1720,6 +1720,14 @@ namespace lfg
|
|||
// Remove bind to that map
|
||||
sInstanceSaveMgr->PlayerUnbindInstance(player->GetGUID(), dungeon->map, player->GetDungeonDifficulty(), true);
|
||||
}
|
||||
else
|
||||
{
|
||||
// RDF removes all binds to that map
|
||||
if (randomDungeon && !sInstanceSaveMgr->PlayerIsPermBoundToInstance(player->GetGUID(), dungeon->map, player->GetDungeonDifficulty()))
|
||||
{
|
||||
sInstanceSaveMgr->PlayerUnbindInstance(player->GetGUID(), dungeon->map, player->GetDungeonDifficulty(), true);
|
||||
}
|
||||
}
|
||||
|
||||
playersTeleported.push_back(player);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue