mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 01:02:56 +08:00
Fix return condition from EnsureMutableSkin
not accounting for "failed" imports
This commit is contained in:
parent
c4495dafb6
commit
ee99b94940
@ -174,9 +174,10 @@ namespace osu.Game.Skinning
|
||||
// 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
Block a user