1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 04:07:25 +08:00

Update access of WorkingBeatmap.

This commit is contained in:
Huo Yaoyuan 2016-11-06 00:13:45 +08:00
parent c470140d64
commit 5eed07db57

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