Replace Component.OnRemove with ComponentRemove event subscriptions (#21072)
This commit is contained in:
@@ -59,13 +59,6 @@ namespace Content.Server.Power.Components
|
||||
};
|
||||
|
||||
public float PowerReceived => NetworkLoad.ReceivingPower;
|
||||
|
||||
protected override void OnRemove()
|
||||
{
|
||||
Provider?.RemoveReceiver(this);
|
||||
|
||||
base.OnRemove();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user