diff --git a/src/app/npc/update-npc-image.js b/src/app/npc/update-npc-image.js index c1ad3886..bf7251e9 100644 --- a/src/app/npc/update-npc-image.js +++ b/src/app/npc/update-npc-image.js @@ -62,5 +62,8 @@ export function updateNpcWithGameImage(npc, imgUrl) special: imgUrl } Engine.npcs.updateData([npc.d]) + Object.defineProperty(npc.d, 'icon', { + get() {return imgUrl}, set() {} + }) }, 1) }