mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Don't crash if you leave and return to song select
During visual tests
This commit is contained in:
@ -126,8 +126,8 @@ namespace osu.Game.GameModes.Play
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
playMode.ValueChanged -= PlayMode_ValueChanged;
|
||||
if (playMode != null)
|
||||
playMode.ValueChanged -= PlayMode_ValueChanged;
|
||||
}
|
||||
|
||||
private void PlayMode_ValueChanged(object sender, EventArgs e)
|
||||
|
Reference in New Issue
Block a user