From 9fe2d0c567f82eb724254b51f0d519948a84f78b Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Wed, 19 May 2021 14:52:09 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=B1=B1=E6=B2=B3=E7=A4=BE=E7=A8=B7?= =?UTF-8?q?=E5=9B=BE=E3=80=91=E5=B0=8F=E5=85=B3=E5=8D=A1=E7=AD=89=E7=BA=A7?= =?UTF-8?q?=E9=99=90=E5=88=B6=E6=8F=90=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/FightLevel/FightLevelSingleChapterPanel.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelSingleChapterPanel.lua b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelSingleChapterPanel.lua index d56db35149..1734c1065f 100644 --- a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelSingleChapterPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelSingleChapterPanel.lua @@ -262,12 +262,12 @@ function this.GetCurLevelIsOpen(levelDatas) if levelDatas.config.LevelLimit == -1 then return -1 end - if levelDatas.nodeId > FightLevelManager.GetCurChapterLevelId() then - return 1 - end if levelDatas.config.LevelLimit > PlayerManager.level then return 2 end + if levelDatas.nodeId > FightLevelManager.GetCurChapterLevelId() then + return 1 + end return 0 end --宝箱奖励预览