소스 검색

神都辰游屏蔽签到

zhangyuqian 1 년 전
부모
커밋
c586bcf272

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Data/ActivityDataManager.cs

@@ -315,10 +315,10 @@ namespace GFGGame
         public Dictionary<int,int> NewYearLoginInfoDic = new Dictionary<int, int>();
         public bool CanGetNewYearLoginRed()
         {
-            foreach (var a in NewYearLoginInfoDic)
-            {
-                if (a.Value == 1) return true;
-            }
+            //foreach (var a in NewYearLoginInfoDic)
+            //{
+            //    if (a.Value == 1) return true;
+            //}
             return false;
         }
 

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/OpenServerActivity/OpenServerActivityView.cs

@@ -67,6 +67,7 @@ namespace GFGGame
             _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("Tx_bg");
             RefreshTimeText();
             UpdateRedDot();
+            _ui.m_buttonNewYearLogin.visible = false;
             //RefreshButtonNewYearLogin();
             Timers.inst.Add(1, 0, UpdateTime);
             Timers.inst.Add(0.2f, 1, ShowEffTime);