mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:42:54 +08:00
Update access of WorkingBeatmap.
This commit is contained in:
parent
c470140d64
commit
5eed07db57
@ -251,10 +251,7 @@ namespace osu.Game.Overlays
|
|||||||
title.Text = metadata.TitleUnicode ?? metadata.Title;
|
title.Text = metadata.TitleUnicode ?? metadata.Title;
|
||||||
artist.Text = metadata.ArtistUnicode ?? metadata.Artist;
|
artist.Text = metadata.ArtistUnicode ?? metadata.Artist;
|
||||||
|
|
||||||
Sprite newBackground;
|
Sprite newBackground = getScaledSprite(beatmap.Background);
|
||||||
|
|
||||||
|
|
||||||
newBackground = getScaledSprite(TextureLoader.FromStream(beatmap.Reader.ReadFile(metadata.BackgroundFile)));
|
|
||||||
|
|
||||||
Add(newBackground);
|
Add(newBackground);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user