From cb052033c21b8f626131cf287ffc81d667df3c7b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 25 Dec 2020 19:44:38 -0500 Subject: [PATCH] Fix --- commands/edit-image/pet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/pet.js b/commands/edit-image/pet.js index b6b02cf0..c0022aef 100644 --- a/commands/edit-image/pet.js +++ b/commands/edit-image/pet.js @@ -43,7 +43,7 @@ module.exports = class PetCommand extends Command { encoder.setDelay(200); encoder.setQuality(200); for (let i = 0; i < frameCount; i++) { - const frameID = `frame-${i.toString().padStart(2, '0')}.png`; + const frameID = `frame_${i.toString().padStart(2, '0')}.png`; const frame = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'pet', frameID)); const { x, y, width, height } = centerImagePart(data, 75, 75, 27, 38); ctx.drawImage(data, x, y, width, height);