Fixed Quest ENPC bug and converted over Man0l1

This commit is contained in:
Filip Maj 2022-02-06 20:08:53 -05:00
parent 8b3431e557
commit 335efcc81e
3 changed files with 95 additions and 8 deletions

View file

@ -103,10 +103,11 @@ namespace Meteor.Map.Actors
{
if (OldENPCs[classId].IsChanged(flagType, isTalkEnabled, isPushEnabled, isEmoteEnabled, isSpawned))
{
OldENPCs[classId].Update(flagType, isTalkEnabled, isPushEnabled, isEmoteEnabled, isSpawned);
instanceUpdated = OldENPCs[classId];
instanceUpdated.Update(flagType, isTalkEnabled, isPushEnabled, isEmoteEnabled, isSpawned);
CurrentENPCs.Add(classId, instanceUpdated);
}
CurrentENPCs.Add(classId, OldENPCs[classId]);
OldENPCs.Remove(classId);
}
else