浏览代码

活动前置剧情

zhangyuqian 11 月之前
父节点
当前提交
2b244f6797
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

+ 6 - 6
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -465,12 +465,12 @@ namespace GFGGame
 
         private void OnClickBtnOpenServerActivity()
         {
-            //var titleIndex = PlayerPrefs.GetString("seeOpenServerActivityStoryGQ" + GameGlobal.userId);
-            //if (titleIndex == null || titleIndex == "")
-            //{
-            //    ViewManager.Show<StoryDialogView>(new object[] { "10151", false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog), null, false }, true);
-            //}
-            //else
+            var titleIndex = PlayerPrefs.GetString("seeOpenServerActivityStoryGQ" + GameGlobal.userId);
+            if (titleIndex == null || titleIndex == "")
+            {
+                ViewManager.Show<StoryDialogView>(new object[] { "10238", false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog), null, false }, true);
+            }
+            else
                 ViewManager.Show<OpenServerActivityView>();
         }