diff --git a/assets/images/fire.png b/assets/images/fire.png index c170d1ad..03fcfd8b 100644 Binary files a/assets/images/fire.png and b/assets/images/fire.png differ diff --git a/commands/image-edit/approved.js b/commands/image-edit/approved.js index 5a2d6206..db5de221 100644 --- a/commands/image-edit/approved.js +++ b/commands/image-edit/approved.js @@ -37,8 +37,7 @@ module.exports = class ApprovedCommand extends Command { ctx.drawImage(data, 0, 0); const dataRatio = data.width / data.height; const baseRatio = base.width / base.height; - let width = data.width; - let height = data.height; + let { width, height } = data; let x = 0; let y = 0; if (baseRatio < dataRatio) { diff --git a/commands/image-edit/rejected.js b/commands/image-edit/rejected.js index db2cbd4a..401a1fbf 100644 --- a/commands/image-edit/rejected.js +++ b/commands/image-edit/rejected.js @@ -37,8 +37,7 @@ module.exports = class RejctedCommand extends Command { ctx.drawImage(data, 0, 0); const dataRatio = data.width / data.height; const baseRatio = base.width / base.height; - let width = data.width; - let height = data.height; + let { width, height } = data; let x = 0; let y = 0; if (baseRatio < dataRatio) {