diff --git a/module/rdd-main.js b/module/rdd-main.js index e77750b7..c0d441f6 100644 --- a/module/rdd-main.js +++ b/module/rdd-main.js @@ -276,7 +276,7 @@ async function migrationPngWebp_1_5_34() { await Actor.updateDocuments(actorsUpdates); game.actors.forEach(actor => { if (actor.data.token.img.match(regexOldPngJpg)){ - actor.update({ "data.token.img": convertImgToWebp(actor.data.token.img) }); + actor.update({ "token.img": convertImgToWebp(actor.data.token.img) }); } const actorItemsToUpdate = prepareDocumentsImgUpdate(actor.items); actor.updateEmbeddedDocuments('Item', actorItemsToUpdate);