mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 22:17:46 +08:00
Remove unnecessary Dispose logic.
This commit is contained in:
parent
4aecd59c74
commit
7483b69477
@ -222,12 +222,6 @@ namespace osu.Game.Screens.Play
|
||||
if (IsPaused) Pause(); else Resume();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
playerInputManager?.Dispose();
|
||||
}
|
||||
|
||||
public void Restart()
|
||||
{
|
||||
sourceClock.Stop(); // If the clock is running and Restart is called the game will lag until relaunch
|
||||
|
Loading…
x
Reference in New Issue
Block a user