From f3ae8542aee4b5de78fc20d9543bb424b315708f Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 10 九月 2025 14:23:47 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/HeroUI/HeroGiftRoleListCell.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Main/System/HeroUI/HeroGiftRoleListCell.cs b/Main/System/HeroUI/HeroGiftRoleListCell.cs
index c016d95..e84aec0 100644
--- a/Main/System/HeroUI/HeroGiftRoleListCell.cs
+++ b/Main/System/HeroUI/HeroGiftRoleListCell.cs
@@ -63,8 +63,15 @@
             return;
         }
 
+        if (hero.heroLevel > 1)
+        {
+            HeroUIManager.Instance.ResetBtnClick(hero);
+            return;
+        }
+
+
         if (hero.heroStar > 0)
-        { 
+        {
             ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"),
             Language.Get("HeroGift13"), (bool isOK) =>
                 {

--
Gitblit v1.8.0