1
0
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:
smoogipoo 2020-06-09 19:01:02 +09:00
parent 4fd5ff61eb
commit 05b1edb9d8
2 changed files with 2 additions and 5 deletions

View File

@ -61,7 +61,6 @@ namespace osu.Game.Tests.Visual.Multiplayer
Ruleset = { Value = new OsuRuleset().RulesetInfo }
}));
});
}
private void bindHandler(double delay = 0)

View File

@ -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;