Core/Party: Fixes crash when leaving a party

This commit is contained in:
hondacrx
2021-02-09 14:19:23 -05:00
parent 956cbb0738
commit 9a8b996fe0
+3
View File
@@ -1460,6 +1460,9 @@ namespace Game.DungeonFinding
public uint GetDungeonMapId(ObjectGuid guid)
{
if (!GroupsStore.ContainsKey(guid))
return 0;
uint dungeonId = GroupsStore[guid].GetDungeon(true);
uint mapId = 0;
if (dungeonId != 0)