mirror of https://github.com/ppy/osu
Fix return condition from `EnsureMutableSkin` not accounting for "failed" imports
This commit is contained in:
parent
c4495dafb6
commit
ee99b94940
|
@ -174,9 +174,10 @@ public bool EnsureMutableSkin()
|
|||
// currently this only happens on save.
|
||||
result.PerformRead(skin => Save(skin.CreateInstance(this)));
|
||||
CurrentSkinInfo.Value = result;
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue