Browse Source

神都宸游剧情播放结束才记录

huangxiaoyue 1 year ago
parent
commit
0dad1b539b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

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

@@ -388,7 +388,6 @@ namespace GFGGame
             var titleIndex = PlayerPrefs.GetString("seeOpenServerActivityStory" + GameGlobal.userId);
             if (titleIndex == null || titleIndex == "")
             {
-                PlayerPrefs.SetString("seeOpenServerActivityStory"+ GameGlobal.userId, "1");
                 ViewManager.Show<StoryDialogView>(new object[] { "10151", false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog), null, false }, true);
             }
             else
@@ -397,6 +396,7 @@ namespace GFGGame
 
         private static void OnCompletePriorStoryDialog(bool isSkip, object param)
         {
+            PlayerPrefs.SetString("seeOpenServerActivityStory" + GameGlobal.userId, "1");
             ViewManager.DeleteViewStackCountDown(null, 1);
             ViewManager.Show<OpenServerActivityView>();
         }