【限时升星】选择舞小
parent
81b3d254f4
commit
2561da2203
|
@ -261,7 +261,7 @@ function UpStarGift:GetCurChooseHero()
|
||||||
if choose == 0 and self.tempChoose and self.tempChoose ~= 0 then
|
if choose == 0 and self.tempChoose and self.tempChoose ~= 0 then
|
||||||
-- 检测一遍临时选择的正确性,选择的人物保存到本地,这里是为了防止两期活动数据冲突
|
-- 检测一遍临时选择的正确性,选择的人物保存到本地,这里是为了防止两期活动数据冲突
|
||||||
local heroList = self:GetHeroList()
|
local heroList = self:GetHeroList()
|
||||||
if table.indexof(heroList, self.tempChoose) then
|
if not table.indexof(heroList, self.tempChoose) then
|
||||||
self.tempChoose = 0
|
self.tempChoose = 0
|
||||||
end
|
end
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue