mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
Fix incorrect beatmap showing
This commit is contained in:
parent
4fd5ff61eb
commit
05b1edb9d8
@ -61,7 +61,6 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
Ruleset = { Value = new OsuRuleset().RulesetInfo }
|
||||
}));
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
private void bindHandler(double delay = 0)
|
||||
|
@ -4,11 +4,9 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
@ -52,9 +50,9 @@ namespace osu.Game.Screens.Ranking.Expanded
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(Bindable<WorkingBeatmap> working)
|
||||
private void load()
|
||||
{
|
||||
var beatmap = working.Value.BeatmapInfo;
|
||||
var beatmap = score.Beatmap;
|
||||
var metadata = beatmap.Metadata;
|
||||
var creator = metadata.Author?.Username;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user