Explorar o código

章节关卡背景图问题处理

zhangyuqian hai 1 ano
pai
achega
91adb5e8c4

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

@@ -155,6 +155,7 @@ namespace GFGGame
             Timers.inst.AddUpdate(CheckGuide);
 
             //根据困难程度选择显示图片
+            currentDifficulty = _chapterID / 10000 - 1;
             if (currentDifficulty == 1)
             {
                 _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("zhangjie_bg");