From f2b531fa30b35356c16dcaabc0c1b09ed17a5c64 Mon Sep 17 00:00:00 2001 From: Cosmo Myzrail Gorynych Date: Tue, 19 Jan 2021 16:07:11 +1200 Subject: [PATCH] :bug: Fix "}" at the end of some texture files' names --- src/node_requires/resources/textures/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_requires/resources/textures/index.js b/src/node_requires/resources/textures/index.js index a8ef7bf74..1ac9f7cd6 100644 --- a/src/node_requires/resources/textures/index.js +++ b/src/node_requires/resources/textures/index.js @@ -208,7 +208,7 @@ const importImageToTexture = async (src, name) => { const id = generateGUID(); let dest; if (src instanceof Buffer) { - dest = path.join(global.projdir, 'img', `i${id}.png}`); + dest = path.join(global.projdir, 'img', `i${id}.png`); await fs.writeFile(dest, src); } else { dest = path.join(global.projdir, 'img', `i${id}${path.extname(src)}`);