From f7c1cf64c15c2448e9856b5ded891c56fab89114 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 10 Feb 2021 21:14:33 -0500 Subject: [PATCH] Fix --- commands/edit-avatar/eject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-avatar/eject.js b/commands/edit-avatar/eject.js index 5d841440..bd42dbce 100644 --- a/commands/edit-avatar/eject.js +++ b/commands/edit-avatar/eject.js @@ -84,7 +84,7 @@ module.exports = class EjectCommand extends Command { ctx.drawImage(avatar, x, (frame.height / 2) - 25, 50, 50); ctx.rotate(-rotation * (Math.PI / 180)); } - if (i <= 20) { + if (i >= 10 && i <= 20) { ctx.drawImage(frame, 0, 0); const letters = Math.ceil((text.length / 10) * (i + 1)); const toDraw = text.slice(0, letters + 1);