1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Remove dispose which is no longer necessary.

This commit is contained in:
Dean Herbert 2017-02-26 22:08:29 +09:00
parent c227eb1be5
commit bc231c6bd4
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -38,7 +38,6 @@ namespace osu.Game.Screens.Play
Interactive = false,
},
};
}
[BackgroundDependencyLoader]
@ -92,11 +91,6 @@ namespace osu.Game.Screens.Play
Content.ScaleTo(0.7f, 150, EasingTypes.InQuint);
FadeOut(150);
//OsuScreens are currently never finalised due to the Bindable<Beatmap> bindings.
//can be removed once we solve that one.
if (player != null && player.LoadState != LoadState.Alive)
player.Dispose();
return base.OnExiting(next);
}