mirror of
https://github.com/ppy/osu.git
synced 2025-03-01 14:13:16 +08:00
Fetch ruleset before initialising beatmap the first time
This commit is contained in:
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()
|
||||
|
Loading…
Reference in New Issue
Block a user