fix: don't update texture if there is no texture

This commit is contained in:
Azgaar 2023-11-19 16:53:10 +04:00
parent ada39b47ad
commit a349d40868
3 changed files with 3 additions and 3 deletions

View file

@ -471,7 +471,7 @@ async function parseLoadedData(data) {
{
// add custom texture if any
const textureHref = texture.attr("data-href");
updateTextureSelectValue(textureHref);
if (textureHref) updateTextureSelectValue(textureHref);
}
void (function checkDataIntegrity() {