1
0
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:
Dean Herbert 2022-04-29 13:46:18 +09:00
parent c4495dafb6
commit ee99b94940

View File

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