Implemented the ending portion of the guildleve.

This commit is contained in:
Filip Maj 2017-06-25 22:43:15 -04:00
parent cd0bb10ef6
commit e5afe8791b
7 changed files with 88 additions and 0 deletions

View file

@ -134,7 +134,11 @@ namespace FFXIVClassic_Map_Server.actors.group
Session s = Server.GetServer().GetSession(members[i]);
if (s != null)
s.GetActor().SetCurrentContentGroup(null);
Actor a = director.GetZone().FindActorInArea(members[i]);
if (a is Npc)
((Npc)a).Despawn();
members.Remove(members[i]);
i--;
}
Server.GetWorldManager().DeleteContentGroup(groupIndex);
}