Ver Fonte

茶话会在4点59分临界值收到服务器下发的期数清0做屏蔽判断

huangxiaoyue há 1 ano atrás
pai
commit
3bc44749b9

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueAnswerView.cs

@@ -53,7 +53,9 @@ namespace GFGGame
                 var index = (int)this.viewData;
                 _ui.m_c1.selectedIndex = index;
                 var openCfg = TeapartyOpenCfgArray.Instance.GetCfg(LeagueDataManager.Instance.TeaPartyId);
-                _ui.m_txtPlayRule.text =  TextDescCfgArray.Instance.GetCfg(300023).text + openCfg.preview;
+                if (openCfg != null) { 
+                    _ui.m_txtPlayRule.text =  TextDescCfgArray.Instance.GetCfg(300023).text + openCfg.preview;
+                }
                 _ui.m_btnTeaParty.visible = LeagueDataManager.Instance.TeaPartyStatus != 0;
             }
             else {