【图鉴】加入版本判断

dev_chengFeng
gaoxin 2022-02-11 15:11:38 +08:00
parent 320d755e02
commit b6fa8db0cc
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ function HandBookHeroAndEquipListPanel:GetHeroData()
local twoHeroList = {}
local oneHeroList = {}
for id, v in ConfigPairs(ConfigManager.GetConfig(ConfigName.HeroConfig)) do
if not v.Hide or v.Hide == 0 then
if (not v.Hide or v.Hide == 0) and HeroManager.InVersion(id) then
-- if v.Natural == 7 and (proId == 0 or v.PropertyName == proId) then
-- table.insert(tenHeroList,v)