From cd60df758226a378ee1c0372568507d32f2f8696 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 21 八月 2025 11:58:34 +0800
Subject: [PATCH] 0312 修复激活羁绊显示问题,暂不根据不同皮肤显示不同头像

---
 Main/System/HeroUI/HeroConnectionCell.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Main/System/HeroUI/HeroConnectionCell.cs b/Main/System/HeroUI/HeroConnectionCell.cs
index 01035cd..a5a2102 100644
--- a/Main/System/HeroUI/HeroConnectionCell.cs
+++ b/Main/System/HeroUI/HeroConnectionCell.cs
@@ -18,8 +18,13 @@
     {
         HeroFetterConfig heroFetterConfig = HeroFetterConfig.Get(fetterID);
 
-        int fromHeroID = HeroManager.Instance.GetHero(guid).heroId;
-        int _skinID = HeroManager.Instance.GetHero(guid).SkinID;
+        int fromHeroID = 0;
+        int _skinID = 0;
+        if (guid != "")
+        {
+            fromHeroID = HeroManager.Instance.GetHero(guid).heroId;
+            _skinID = HeroManager.Instance.GetHero(guid).SkinID;
+        }
         for (int i = 0; i < heros.Length; i++)
         {
             if (i < heroFetterConfig.HeroIDList.Length)

--
Gitblit v1.8.0