From 1eace178e73646a72aa11103f50741d5d74c6e6e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 15 Jun 2020 20:53:50 -0400 Subject: [PATCH] Fix --- commands/edit-image/undertale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/undertale.js b/commands/edit-image/undertale.js index f887100e..23fe0132 100644 --- a/commands/edit-image/undertale.js +++ b/commands/edit-image/undertale.js @@ -134,7 +134,7 @@ module.exports = class UndertaleCommand extends Command { const text = await wrapText(ctx, quote, 385); const lines = text.length > 3 ? 3 : text.length; for (let i = 0; i < lines; i++) { - ctx.fillText(text[i], 174, 22 + (22 * i) + (22 * (i + 1)) + (space * i)); + ctx.fillText(text[i], 174, 22 + (22 * i) + (22 * i) + (space * i)); } return msg.say({ files: [{ attachment: canvas.toBuffer(), name: `undertale-${character}.png` }] }); }