From 4b25281b33f386b8c86b32340b684ae34402f7e5 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 09 十月 2025 15:45:43 +0800
Subject: [PATCH] 257 子 【配套功能】新手引导 / 【常规】引导

---
 Main/Component/UI/Effect/UIEffectPlayer.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Main/Component/UI/Effect/UIEffectPlayer.cs b/Main/Component/UI/Effect/UIEffectPlayer.cs
index 37254a2..5d70f0f 100644
--- a/Main/Component/UI/Effect/UIEffectPlayer.cs
+++ b/Main/Component/UI/Effect/UIEffectPlayer.cs
@@ -24,7 +24,7 @@
     public void PlayByArrIndex(int index, bool showLog = true, bool closePMA = false)
     {
         var config = EffectConfig.Get(effectId);
-        playSpineAnimIndex = config.animIndex[index];
+        playSpineAnimIndex = index < config.animIndex.Length ? config.animIndex[index] : 0;
         PlayAsync(showLog, closePMA).Forget();
     }
 

--
Gitblit v1.8.0