Merge pull request #9 from GenZmeY/group-names

add mutator group name
This commit is contained in:
GenZmeY 2023-06-29 22:35:17 +03:00 committed by GitHub
commit 3580be6ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ public function AddMutator(Mutator Mut)
if (Mut == Self) return; if (Mut == Self) return;
if (Mut.Class == Class) if (Mut.Class == Class)
Mut.Destroy(); CTIMut(Mut).SafeDestroy();
else else
Super.AddMutator(Mut); Super.AddMutator(Mut);
} }
@ -56,5 +56,5 @@ public function NotifyLogout(Controller C)
DefaultProperties DefaultProperties
{ {
GroupNames.Add("TraderItems")
} }