Merge pull request #3262 from peppy/fix-mod-crash

Fix crash when selecting mods after entering play mode
This commit is contained in:
Dan Balasescu 2018-08-21 10:10:30 +09:00 committed by GitHub
commit d921d50e11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,12 @@ namespace osu.Game.Screens.Play.HUD
};
}
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
mods.UnbindAll();
}
protected override void LoadComplete()
{
base.LoadComplete();