mirror of https://github.com/ppy/osu
Update legacy `SkinManager` to match new interface
This commit is contained in:
parent
a7e4e7be3a
commit
94b10492be
|
@ -171,7 +171,7 @@ public void Save(Skin skin)
|
|||
var oldFile = skin.SkinInfo.Files.FirstOrDefault(f => f.Filename == filename);
|
||||
|
||||
if (oldFile != null)
|
||||
skinModelManager.ReplaceFile(skin.SkinInfo, oldFile, streamContent, oldFile.Filename);
|
||||
skinModelManager.ReplaceFile(skin.SkinInfo, oldFile, streamContent);
|
||||
else
|
||||
skinModelManager.AddFile(skin.SkinInfo, streamContent, filename);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue