mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Remove dispose which is no longer necessary.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user