From afdf97c0c2e688817d266d222d7632f908eff61e Mon Sep 17 00:00:00 2001 From: Azmoria <65363489+Azmoria@users.noreply.github.com> Date: Mon, 9 Oct 2023 00:42:14 -0400 Subject: [PATCH] Beta Fix - should be pc.image not pc.imgsrc --- CoreFunctions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreFunctions.js b/CoreFunctions.js index 16d18123d..c9c3058a9 100644 --- a/CoreFunctions.js +++ b/CoreFunctions.js @@ -529,7 +529,7 @@ const debounce_pc_token_update = mydebounce(() => { token.options = { ...token.options, ...pc, - imgsrc: (token.options.alternativeImages?.length == 0) ? pc.imgsrc : currentImage, + imgsrc: (token.options.alternativeImages?.length == 0) ? pc.image : currentImage, id: pc.sheet // pc.id is DDB characterId, but we use the sheet as an id for tokens }; token.place_sync_persist(); // not sure if this is overkill @@ -540,7 +540,7 @@ const debounce_pc_token_update = mydebounce(() => { token.options = { ...token.options, ...pc, - imgsrc: (token.options.alternativeImages?.length == 0) ? pc.imgsrc : currentImage, + imgsrc: (token.options.alternativeImages?.length == 0) ? pc.image : currentImage, id: pc.sheet // pc.id is DDB characterId, but we use the sheet as an id for tokens }; }