|
@@ -191,7 +191,7 @@ namespace GFGGame
|
|
|
private void OnBtnSuitClick()
|
|
|
{
|
|
|
SuitCfg suitCfg = SuitCfgArray.Instance.GetCfg(_filingCfg.suitId);
|
|
|
- if (!InstanceZonesDataManager.CheckLevelPass(suitCfg.syntheticStoryLevelId))
|
|
|
+ if (suitCfg.syntheticStoryLevelId > 0 && !InstanceZonesDataManager.CheckLevelPass(suitCfg.syntheticStoryLevelId))
|
|
|
{
|
|
|
StoryLevelCfg cfg = StoryLevelCfgArray.Instance.GetCfg(suitCfg.syntheticStoryLevelId);
|
|
|
PromptController.Instance.ShowFloatTextPrompt(string.Format("需通关{0}关卡解锁", cfg.name));
|