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

@@ -17,14 +17,6 @@ namespace Content.Client.Window
SubscribeLocalEvent<WindowComponent, SnapGridPositionChangedEvent>(HandleSnapGridMove);
}
public override void Shutdown()
{
base.Shutdown();
UnsubscribeLocalEvent<WindowSmoothDirtyEvent>();
UnsubscribeLocalEvent<WindowComponent, SnapGridPositionChangedEvent>(HandleSnapGridMove);
}
private void HandleDirtyEvent(WindowSmoothDirtyEvent ev)
{
if (ev.Sender.HasComponent<WindowComponent>())