Update legacy `SkinManager` to match new interface

This commit is contained in:
Dean Herbert 2021-11-29 18:20:07 +09:00
parent a7e4e7be3a
commit 94b10492be
1 changed files with 1 additions and 1 deletions

View File

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