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:
parent
c227eb1be5
commit
bc231c6bd4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user