|
@@ -535,16 +535,19 @@ namespace GFGGame
|
|
|
private void OnClickBtnArena()
|
|
|
{
|
|
|
// LogServerHelper.SendNodeLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
|
|
|
- if (!ArenaDataManager.Instance.IsSeasonOpen)
|
|
|
+ if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ArenaView).Name))
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("赛季未开始");
|
|
|
return;
|
|
|
}
|
|
|
- if (FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ArenaView).Name))
|
|
|
+ if (!ArenaDataManager.Instance.IsSeasonOpen)
|
|
|
{
|
|
|
- ViewManager.Show<ArenaView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData }, true);
|
|
|
- ViewManager.Show<ArenaLoadingView>();
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("赛季未开始");
|
|
|
+ return;
|
|
|
}
|
|
|
+
|
|
|
+ ViewManager.Show<ArenaView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData }, true);
|
|
|
+ ViewManager.Show<ArenaLoadingView>();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
private void OnClickBtnTravel()
|