From 2989f52e8677452fac84d43dd531cec3deda3434 Mon Sep 17 00:00:00 2001 From: oc Date: Thu, 2 May 2019 23:48:03 +0800 Subject: [PATCH] Fix bug --- project/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/functions.js b/project/functions.js index 13cf4cfc..fc876771 100644 --- a/project/functions.js +++ b/project/functions.js @@ -972,7 +972,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = var icon = core.getFlag("heroIcon", "hero.png"); icon = core.getMappedName(icon); if (core.material.images.images[icon]) { - core.material.images.hero.src = core.material.images.images[icon].src; + core.material.images.hero = core.material.images.images[icon]; core.material.icons.hero.width = core.material.images.images[icon].width / 4; core.material.icons.hero.height = core.material.images.images[icon].height / 4; }