mirror of
https://github.com/ppy/osu
synced 2024-12-26 08:53:10 +00:00
fix skin using wrong stream
This commit is contained in:
parent
63dd8bd991
commit
e7a9175aea
@ -44,7 +44,11 @@ namespace osu.Game.Database
|
||||
var beatmapContent = new LegacyBeatmapDecoder().Decode(contentStreamReader);
|
||||
|
||||
using var skinStream = base.GetFileContents(model, file);
|
||||
using var skinStreamReader = new LineBufferedReader(contentStream);
|
||||
|
||||
if (skinStream == null)
|
||||
return null;
|
||||
|
||||
using var skinStreamReader = new LineBufferedReader(skinStream);
|
||||
var beatmapSkin = new LegacySkin(new SkinInfo(), null!)
|
||||
{
|
||||
Configuration = new LegacySkinDecoder().Decode(skinStreamReader)
|
||||
|
Loading…
Reference in New Issue
Block a user