1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 07:59:57 +08:00

Fetch ruleset before initialising beatmap the first time

This commit is contained in:
Dean Herbert
2024-12-21 20:17:27 +09:00
Unverified
parent 881623d47d
commit 1fcd953e4a
@@ -49,11 +49,11 @@ namespace osu.Game.Seasonal
[BackgroundDependencyLoader]
private void load(IBindable<WorkingBeatmap> working, RulesetStore rulesets)
{
this.working = working.GetBoundCopy();
this.working.BindValueChanged(_ => Scheduler.AddOnce(updateBeatmap), true);
// operate in osu! ruleset to keep things simple for now.
osuRuleset = rulesets.GetRuleset(0);
this.working = working.GetBoundCopy();
this.working.BindValueChanged(_ => Scheduler.AddOnce(updateBeatmap), true);
}
private void updateBeatmap()