From 4934ee3ee5ee0ce717cab2c6c001b580e9693e66 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 21 十一月 2025 16:39:36 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/PhantasmPavilion/PhantasmPavilionManager.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Main/System/PhantasmPavilion/PhantasmPavilionManager.cs b/Main/System/PhantasmPavilion/PhantasmPavilionManager.cs
index 8425e25..e80f837 100644
--- a/Main/System/PhantasmPavilion/PhantasmPavilionManager.cs
+++ b/Main/System/PhantasmPavilion/PhantasmPavilionManager.cs
@@ -229,8 +229,6 @@
                 spine.enabled = false;
                 uiFrame.enabled = false;
 
-
-
                 if (sprite == null)
                 {
                     if (!IconConfig.HasKey(resourceValue))
@@ -246,6 +244,10 @@
                 imgFace.enabled = true;
                 uiFrame.enabled = false;
                 spine.enabled = true;
+
+                imgFace.sprite = null;
+                imgFace.overrideSprite = null;
+
                 spine.effectId = int.Parse(resourceValue);
                 spine.isPlaySpineLoop = true;
                 spine.Play();
@@ -255,7 +257,9 @@
                 imgFace.enabled = true;
                 spine.enabled = false;
                 uiFrame.enabled = true;
+
                 imgFace.sprite = null;
+                imgFace.overrideSprite = null;
 
                 if (!UIFrameMgr.Inst.ContainsDynamicImage(resourceValue))
                     break;

--
Gitblit v1.8.0