Core/Groups: Fixes groups staying linked with players.

This commit is contained in:
Hondacrx
2025-09-02 22:43:56 -04:00
parent 6531cd9dc1
commit 3d23a9f162
34 changed files with 385 additions and 402 deletions
+2 -7
View File
@@ -8,9 +8,7 @@ namespace Game.Groups
{
public class GroupInstanceReference : Reference<Group, InstanceMap>
{
~GroupInstanceReference() { Unlink(); }
public new GroupInstanceReference Next() { return (GroupInstanceReference)base.Next(); }
public void Dispose() { Unlink(); }
public override void TargetObjectBuildLink()
{
@@ -18,8 +16,5 @@ namespace Game.Groups
}
}
class GroupInstanceRefManager : RefManager<Group, InstanceMap>
{
public new GroupInstanceReference GetFirst() { return (GroupInstanceReference)base.GetFirst(); }
}
class GroupInstanceRefManager : RefManager<GroupInstanceReference> { }
}