From bb463ef0b13236738a1da9cd04f57def3e7e2c7c Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 29 八月 2025 15:21:51 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/Component/UI/Effect/TimeMgr.cs |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/Main/Component/UI/Effect/TimeMgr.cs b/Main/Component/UI/Effect/TimeMgr.cs
index f968fa8..e1be090 100644
--- a/Main/Component/UI/Effect/TimeMgr.cs
+++ b/Main/Component/UI/Effect/TimeMgr.cs
@@ -9,13 +9,11 @@
     private Dictionary<Component, TimeItem> timeItems = new Dictionary<Component, TimeItem>();
     private List<TimeItem> timeItemList = new List<TimeItem>();
     private int hourBuff = -1;
-    private int minuteBuff = -1;
     public int dayBuff = -1;
     public int monthBuff { get { return LocalSave.GetInt("month"); } private set { LocalSave.SetInt("month", value); } }
     public int weekBuff { get { return LocalSave.GetInt("week"); } private set { LocalSave.SetInt("week", value); } }
     public event Action OnDayEvent;
     public event Action OnHourEvent;
-    public event Action OnMinuteEvent;
     public event Action OnMonthAfterPlayerDataInitializeEvent;
     public event Action OnWeekAfterPlayerDataInitializeEvent;
 
@@ -55,14 +53,6 @@
                     OnHourEvent();
                 }
                 hourBuff = TimeUtility.ServerNow.Hour;
-            }
-            if (minuteBuff != TimeUtility.ServerNow.Minute)
-            {
-                if (OnMinuteEvent != null)
-                {
-                    OnMinuteEvent();
-                }
-                minuteBuff = TimeUtility.ServerNow.Minute;
             }
         }
         catch (Exception e)

--
Gitblit v1.8.0