Remove obsolete system event unsubscriptions (#4190)

This commit is contained in:
DrSmugleaf
2021-06-16 15:54:00 +02:00
committed by GitHub
parent e9d8c56ad1
commit e44663e99f
31 changed files with 0 additions and 206 deletions

View File

@@ -15,15 +15,6 @@ namespace Content.Server.NodeContainer.EntitySystems
SubscribeLocalEvent<NodeContainerComponent, RotateEvent>(OnRotateEvent);
}
public override void Shutdown()
{
base.Shutdown();
UnsubscribeLocalEvent<NodeContainerComponent, PhysicsBodyTypeChangedEvent>(OnBodyTypeChanged);
UnsubscribeLocalEvent<NodeContainerComponent, RotateEvent>(OnRotateEvent);
}
private void OnBodyTypeChanged(EntityUid uid, NodeContainerComponent component, PhysicsBodyTypeChangedEvent args)
{
component.AnchorUpdate();