切换英雄按钮显示fix
This commit is contained in:
parent
e59b7f1ccb
commit
2d655fbb4f
@ -124,7 +124,7 @@ end
|
||||
|
||||
function HeroDetailUI:updateSide()
|
||||
for index, data in ipairs(self.heroList) do
|
||||
if data.cfgId == self.heroEntity.id then
|
||||
if data.cfgId == self.heroEntity:getCfgId() then
|
||||
self.idxLast = index - 1
|
||||
self.idxNext = index + 1
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user