1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 20:20:21 +08:00

Update access of WorkingBeatmap.

This commit is contained in:
Huo Yaoyuan
2016-11-06 00:13:45 +08:00
Unverified
parent c470140d64
commit 5eed07db57
+1 -4
View File
@@ -251,10 +251,7 @@ namespace osu.Game.Overlays
title.Text = metadata.TitleUnicode ?? metadata.Title;
artist.Text = metadata.ArtistUnicode ?? metadata.Artist;
Sprite newBackground;
newBackground = getScaledSprite(TextureLoader.FromStream(beatmap.Reader.ReadFile(metadata.BackgroundFile)));
Sprite newBackground = getScaledSprite(beatmap.Background);
Add(newBackground);