mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04: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:
1 parent
875b76634a
commit
019e305525
6 files changed
+15
-8
No files matched your search
@@ -501,7 +501,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
lock (directorLock)
|
||||
{
|
||||
Director director = new Director(directorIdCount, this, path, args);
|
||||
currentDirectors.Add(directorIdCount, director);
|
||||
currentDirectors.Add(director.actorId, director);
|
||||
directorIdCount++;
|
||||
return director;
|
||||
}
|
||||
@@ -549,7 +549,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
lock (directorLock)
|
||||
{
|
||||
GuildleveDirector director = new GuildleveDirector(directorIdCount, this, directorScriptPath, glid, difficulty, owner, args);
|
||||
currentDirectors.Add(directorIdCount, director);
|
||||
currentDirectors.Add(director.actorId, director);
|
||||
directorIdCount++;
|
||||
return director;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user