From dfdedbcfa50730c59b434d34d5e79305efc3e0a4 Mon Sep 17 00:00:00 2001 From: "Sean S. LeBlanc" Date: Tue, 2 Jan 2024 10:07:29 -0500 Subject: [PATCH] autofix --- src/helpers/utils.js | 2 +- src/multi-sprite avatar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/utils.js b/src/helpers/utils.js index 0c56261a..dfe91f84 100644 --- a/src/helpers/utils.js +++ b/src/helpers/utils.js @@ -55,7 +55,7 @@ export function getImage(name, map) { ? name : Object.keys(map).find(function (e) { return map[e].name === name; - }); + }); return map[id]; } diff --git a/src/multi-sprite avatar.js b/src/multi-sprite avatar.js index 82aa3ced..9ec8c703 100644 --- a/src/multi-sprite avatar.js +++ b/src/multi-sprite avatar.js @@ -198,7 +198,7 @@ addDualDialogTag('enableBig', function (environment, parameters) { ? parameters.map(function (param) { var props = param.split(/,\s*/); return { x: parseInt(props[0], 10), y: parseInt(props[1], 10), spr: props[2] }; - }) + }) : undefined ); });