From 67a2ba7feb3576913dc2df2bce8ccc9d87840843 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 12 一月 2026 11:26:38 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

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

diff --git a/Main/System/HeroUI/HeroRebornWin.cs b/Main/System/HeroUI/HeroRebornWin.cs
index ae0c0d7..48337cd 100644
--- a/Main/System/HeroUI/HeroRebornWin.cs
+++ b/Main/System/HeroUI/HeroRebornWin.cs
@@ -189,7 +189,7 @@
 
     private void ConfirmBtn()
     {
-        if (HeroUIManager.Instance.awakeRebirthCnt >= HeroUIManager.Instance.rebornAwakeHeroMaxCount)
+        if (awakeToggle.isOn && HeroUIManager.Instance.awakeRebirthCnt >= HeroUIManager.Instance.rebornAwakeHeroMaxCount)
         {
             SysNotifyMgr.Instance.ShowTip("HeroRebornAwakeMax");
             return;

--
Gitblit v1.8.0