Replace Component.OnRemove with ComponentRemove event subscriptions (#21072)
This commit is contained in:
@@ -33,12 +33,6 @@ namespace Content.Server.Power.Components
|
||||
|
||||
[DataField("node")] public string? NodeId { get; set; }
|
||||
|
||||
protected override void OnRemove()
|
||||
{
|
||||
ClearNet();
|
||||
base.OnRemove();
|
||||
}
|
||||
|
||||
public void TryFindAndSetNet()
|
||||
{
|
||||
if (TryFindNet(out var net))
|
||||
|
||||
Reference in New Issue
Block a user