Misc bug fixes

This commit is contained in:
hondacrx
2019-09-11 23:42:27 -04:00
parent 3a3ba9ac2a
commit 7c405230cc
15 changed files with 282 additions and 317 deletions
+4
View File
@@ -1688,6 +1688,9 @@ namespace Game.DungeonFinding
public void AddPlayerToGroup(ObjectGuid gguid, ObjectGuid guid)
{
if (!GroupsStore.ContainsKey(gguid))
GroupsStore[gguid] = new LFGGroupData();
GroupsStore[gguid].AddPlayer(guid);
}
@@ -1695,6 +1698,7 @@ namespace Game.DungeonFinding
{
if (!GroupsStore.ContainsKey(gguid))
GroupsStore[gguid] = new LFGGroupData();
GroupsStore[gguid].SetLeader(leader);
}