报错fix
This commit is contained in:
parent
b06ed8a9eb
commit
4845fd5480
@ -291,7 +291,7 @@ function CollectionData:onGetedPointSuccess(type, id, point)
|
|||||||
if not self.collectHero[id] then
|
if not self.collectHero[id] then
|
||||||
self.collectHero[id] = 0
|
self.collectHero[id] = 0
|
||||||
end
|
end
|
||||||
self.collectHero[id] = DataManager.heroData:getHeroById(id):getLv()
|
self.collectHero[id] = DataManager.HeroData:getHeroById(id):getLv()
|
||||||
elseif type == GConst.CollectionConst.TYPE.SKIN then
|
elseif type == GConst.CollectionConst.TYPE.SKIN then
|
||||||
self.collectSkin[id] = 1
|
self.collectSkin[id] = 1
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user