diff --git a/commands/edit-image/yu-gi-oh-gen.js b/commands/edit-image/yu-gi-oh-gen.js index a7b18238..71f0b70f 100644 --- a/commands/edit-image/yu-gi-oh-gen.js +++ b/commands/edit-image/yu-gi-oh-gen.js @@ -113,7 +113,7 @@ module.exports = class YuGiOhGenCommand extends Command { const ctx = canvas.getContext('2d'); ctx.fillStyle = 'white'; ctx.fillRect(0, 0, base.width, base.height); - const { x, y, width, height } = centerImagePart(data, 109, 241, 590, 590); + const { x, y, width, height } = centerImagePart(data, 590, 590, 109, 241); ctx.drawImage(data, x, y, width, height); ctx.drawImage(base, 0, 0); ctx.drawImage(atr, 669, 61, 77, 77);