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
1 changed files with 2 additions and 1 deletions

View File

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