From a52a462c4f66ee379c79d8c55916feed58240c2a Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 28 一月 2026 17:13:21 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Guild/GuildHallWin.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Main/System/Guild/GuildHallWin.cs b/Main/System/Guild/GuildHallWin.cs
index 51bdf38..e98d296 100644
--- a/Main/System/Guild/GuildHallWin.cs
+++ b/Main/System/Guild/GuildHallWin.cs
@@ -42,7 +42,7 @@
         });
         guildLVBtn.AddListener(() =>
         {
-            // UIManager.Instance.OpenWindow<GuildLevelUpWin>();
+            UIManager.Instance.OpenWindow<GuildLevelWin>();
         });
 
         noticeBtn.AddListener(() =>
@@ -98,8 +98,8 @@
         guildNameText.text = guildInfo.FamilyName + Language.Get("L1039", ServerListCenter.Instance.GetServerName(guildInfo.ServerID));
         guildNumText.text = GuildManager.Instance.EncryptGuildID(guildInfo.FamilyID);
         noticeText.text = string.IsNullOrEmpty(guildInfo.Broadcast) ? Language.Get("Guild_62") : guildInfo.Broadcast;
-        lvExpProcess.fillAmount = (float)guildInfo.FamilyLVExp / config.NeedExp;
-        expText.text = guildInfo.FamilyLVExp + "/" + config.NeedExp;
+        lvExpProcess.fillAmount = config.NeedExp == 0 ? 1 : (float)guildInfo.FamilyLVExp / config.NeedExp;
+        expText.text = config.NeedExp == 0 ? Language.Get("L1055") : StringUtility.Concat(guildInfo.FamilyLVExp.ToString(), "/", config.NeedExp.ToString());
 
     }
 

--
Gitblit v1.8.0