神魂提交

dev_chengFeng
jiaoyangna 2021-11-03 18:16:26 +08:00
parent 6f0d51ddb2
commit b11e859557
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ function GeneralBigPopup_RoleGodSoulUp:BindEvent()
PopupTipPanel.ShowTip("请选择神将!") PopupTipPanel.ShowTip("请选择神将!")
return return
end end
if self:CheckEmptyList() then if self:CheckHaveEmptyValue() then
PopupTipPanel.ShowTip("所选神将无法激活神魂效果!") PopupTipPanel.ShowTip("所选神将无法激活神魂效果!")
return return
end end
@ -143,7 +143,7 @@ end
function GeneralBigPopup_RoleGodSoulUp:CheckEmptyList() function GeneralBigPopup_RoleGodSoulUp:CheckEmptyList()
for k,v in pairs(self.choosedIdList) do for k,v in pairs(self.choosedIdList) do
if v or v ~= "" then if v and v ~= "" then
return false return false
end end
end end