Core/Instance: Fix GetInstanceSave sometimes checking the wrong map (#17856)
This commit is contained in:
1 parent
8bbdb048ea
commit
e344fc9cbf
1 file changed
+1
-1
@@ -18830,7 +18830,7 @@ InstanceSave* Player::GetInstanceSave(uint32 mapid, bool raid)
|
||||
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(GetDifficulty(raid), mapid))
|
||||
pSave = groupBind->save;
|
||||
|
||||
return pSave;
|
||||
|
||||
Reference in new issue
Block a user