Remove IoC resolves in BaseNetConnectorNodeGroup and friends (#20333)
This commit is contained in:
@@ -37,13 +37,14 @@ public sealed partial class ApcComponent : BaseApcNetComponent
|
||||
public static TimeSpan VisualsChangeDelay = TimeSpan.FromSeconds(1);
|
||||
|
||||
// TODO ECS power a little better!
|
||||
// End the suffering
|
||||
protected override void AddSelfToNet(IApcNet apcNet)
|
||||
{
|
||||
apcNet.AddApc(this);
|
||||
apcNet.AddApc(Owner, this);
|
||||
}
|
||||
|
||||
protected override void RemoveSelfFromNet(IApcNet apcNet)
|
||||
{
|
||||
apcNet.RemoveApc(this);
|
||||
apcNet.RemoveApc(Owner, this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user