mirror of
https://github.com/ppy/osu.git
synced 2025-03-01 19:43:09 +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]
|
[BackgroundDependencyLoader]
|
||||||
private void load(IBindable<WorkingBeatmap> working, RulesetStore rulesets)
|
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.
|
// operate in osu! ruleset to keep things simple for now.
|
||||||
osuRuleset = rulesets.GetRuleset(0);
|
osuRuleset = rulesets.GetRuleset(0);
|
||||||
|
|
||||||
|
this.working = working.GetBoundCopy();
|
||||||
|
this.working.BindValueChanged(_ => Scheduler.AddOnce(updateBeatmap), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateBeatmap()
|
private void updateBeatmap()
|
||||||
|
Loading…
Reference in New Issue
Block a user