Merge pull request #4246 from peppy/fix-silence-on-mp-exit

Don't revert beatmap on exiting leased state
This commit is contained in:
Dan Balasescu 2019-02-14 17:26:29 +09:00 committed by GitHub
commit 2343557517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ namespace osu.Game.Screens
Beatmap = parent.Get<LeasedBindable<WorkingBeatmap>>()?.GetBoundCopy();
if (Beatmap == null)
{
Cache(Beatmap = parent.Get<Bindable<WorkingBeatmap>>().BeginLease(true));
Cache(Beatmap = parent.Get<Bindable<WorkingBeatmap>>().BeginLease(false));
}
Ruleset = parent.Get<LeasedBindable<RulesetInfo>>()?.GetBoundCopy();
@ -38,4 +38,4 @@ namespace osu.Game.Screens
}
}
}
}
}