mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix: don't update texture if there is no texture
This commit is contained in:
parent
ada39b47ad
commit
a349d40868
3 changed files with 3 additions and 3 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue