Ver Fonte

剧情章节报错问题

zhangyuqian há 1 ano atrás
pai
commit
efd78ea04f

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryController.cs

@@ -37,7 +37,7 @@ namespace GFGGame
                     {
                         index = 1;
                     }
-                    ViewManager.Show<StoryChapterListView>(new object[] { index , levelCfg.order + 1}, null, true);
+                    ViewManager.Show<StoryChapterListView>(new object[] { index , nextStoryChapterCfg.order - 1}, null, true);
                 }
                 else
                 {

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StorySkillView.cs

@@ -122,7 +122,7 @@ namespace GFGGame
             //else
             {
                 //this.Hide();
-                Timers.inst.Add(1.8f, 1, AutoHide);
+                Timers.inst.Add(2.0f, 1, AutoHide);
             }
         }
         protected override void OnHide()