Core/Instance: Fix GetInstanceSave sometimes checking the wrong map (#17856)
(cherry picked from commit 9c504c8a8ec4db3b75ad35172827457905ede8ee)
This commit is contained in:
@@ -19062,7 +19062,7 @@ InstanceSave* Player::GetInstanceSave(uint32 mapid)
|
||||
InstanceSave* pSave = pBind ? pBind->save : NULL;
|
||||
if (!pBind || !pBind->perm)
|
||||
if (Group* group = GetGroup())
|
||||
if (InstanceGroupBind* groupBind = group->GetBoundInstance(this))
|
||||
if (InstanceGroupBind* groupBind = group->GetBoundInstance(GetDifficultyID(mapEntry), mapid))
|
||||
pSave = groupBind->save;
|
||||
|
||||
return pSave;
|
||||
|
||||
Reference in New Issue
Block a user