From 22c83a39c503cbab22d057bbfe7a3050f1c2856b Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Thu, 3 Oct 2024 20:19:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8B=87=E5=A3=AB=E5=9B=BE=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugin/game/fallback.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugin/game/fallback.ts b/src/plugin/game/fallback.ts index 895fe07..887f91a 100644 --- a/src/plugin/game/fallback.ts +++ b/src/plugin/game/fallback.ts @@ -225,6 +225,7 @@ export function init() { events.prototype.setHeroIcon = function (name: ImageIds) { const img = core.material.images.images[name]; if (!img) return; + core.status.hero.image = name; adapters['hero-adapter']?.sync('setImage', img); };