【公会副本】排行奖励展示修复

dev_chengFeng
zhangqiang 2021-01-21 11:34:03 +08:00
parent fc167398d6
commit 35a1e5d447
1 changed files with 1 additions and 2 deletions

View File

@ -56,7 +56,7 @@ function this.ShowTitleChapterInfo(chapterId)
guildCheckpointConfig = {}
--guildCheckpointRank
for _, configInfo in ConfigPairs(guildCheckpointRank) do
if configInfo.GuildCheckpoint == chapterId then
if configInfo.GuildCheckpoint == chapterId and configInfo.MaxRank > 0 and configInfo.MinRank > 0 then
table.insert(guildCheckpointConfig,configInfo)
end
end
@ -73,7 +73,6 @@ function this.ActivityRewardSingleShow(activityRewardGo,rewardData,index)
sortNumTabs[i]:SetActive(false)
end
if rewardData.MaxRank == rewardData.MinRank then
if rewardData.MinRank < 4 then
sortNumTabs[ rewardData.MaxRank]:SetActive(true)