mirror of
https://github.com/ppy/osu
synced 2025-03-20 18:08:25 +00:00
Merge pull request #4246 from peppy/fix-silence-on-mp-exit
Don't revert beatmap on exiting leased state
This commit is contained in:
commit
2343557517
@ -22,7 +22,7 @@ namespace osu.Game.Screens
|
|||||||
Beatmap = parent.Get<LeasedBindable<WorkingBeatmap>>()?.GetBoundCopy();
|
Beatmap = parent.Get<LeasedBindable<WorkingBeatmap>>()?.GetBoundCopy();
|
||||||
if (Beatmap == null)
|
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();
|
Ruleset = parent.Get<LeasedBindable<RulesetInfo>>()?.GetBoundCopy();
|
||||||
@ -38,4 +38,4 @@ namespace osu.Game.Screens
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user