From 3f2cd27c5dfb3b450245bf1a37fc1b3414031c7c Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 11 二月 2026 11:03:58 +0800
Subject: [PATCH] 小游戏适配 资源系统改造
---
Main/System/HeroUI/HeroGiftWashWin.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Main/System/HeroUI/HeroGiftWashWin.cs b/Main/System/HeroUI/HeroGiftWashWin.cs
index d736dd8..f0be3bd 100644
--- a/Main/System/HeroUI/HeroGiftWashWin.cs
+++ b/Main/System/HeroUI/HeroGiftWashWin.cs
@@ -150,6 +150,7 @@
{
//寤惰繜0.5绉掑彂鍖�
await UniTask.Delay(500);
+ if (this == null) return; // destroyed during await
var hero = HeroManager.Instance.GetHero(HeroUIManager.Instance.selectWashHeroGUID);
if (hero == null)
{
--
Gitblit v1.8.0