mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02:00
Fixed redundant looping when removing/finishing a director. Fixed issue where packets to delete content group wouldn't send. Fixed issue where ContentGroups/Directors weren't clearing after deletion causing a growing amount of zombie groups/directors.
This commit is contained in:
parent
875b76634a
commit
019e305525
6 changed files with 15 additions and 8 deletions
|
@ -596,6 +596,11 @@ namespace FFXIVClassic_Map_Server
|
|||
player.positionZ = spawnZ;
|
||||
player.rotation = spawnRotation;
|
||||
|
||||
//Delete any GL directors
|
||||
GuildleveDirector glDirector = player.GetGuildleveDirector();
|
||||
if (glDirector != null)
|
||||
player.RemoveDirector(glDirector);
|
||||
|
||||
//Delete content if have
|
||||
if (player.currentContentGroup != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue