Browse Source

副本购买次数报错

zhaoyang 2 years ago
parent
commit
e36743828b

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

@@ -141,7 +141,7 @@ namespace GFGGame
                 }
                 else
                 {
-                    if (levelCfg.type == ConstInstanceZonesType.Studio)
+                    if (levelCfg.type == ConstInstanceZonesType.Studio && levelCfg.chapterId != StudioDataManager.Instance.luckyBoxFilingChapterId)
                     {
                         var studioCfg = StudioCfgArray.Instance.GetCfg(levelCfg.chapterId);
                         ViewManager.Show<StudioBuyNumView>(studioCfg.limit);