diff --git a/colorizer.js b/colorizer.js index 7cbdf3f02..537ccf946 100644 --- a/colorizer.js +++ b/colorizer.js @@ -61,7 +61,7 @@ async function size(path) { (async function() { if (args.length == 1) { - const texture = args[1] + const texture = args[0] if (!fs.existsSync(`${root_main}${texture}.png`)) { process.stderr.write(`${texture}.png does not exist\n`)