diff --git a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_RoleGodSoulUp.lua b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_RoleGodSoulUp.lua index 83ec020e02..fc3c7273ec 100644 --- a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_RoleGodSoulUp.lua +++ b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_RoleGodSoulUp.lua @@ -88,7 +88,7 @@ function GeneralBigPopup_RoleGodSoulUp:BindEvent() PopupTipPanel.ShowTip("请选择神将!") return end - if self:CheckEmptyList() then + if self:CheckHaveEmptyValue() then PopupTipPanel.ShowTip("所选神将无法激活神魂效果!") return end @@ -143,7 +143,7 @@ end function GeneralBigPopup_RoleGodSoulUp:CheckEmptyList() for k,v in pairs(self.choosedIdList) do - if v or v ~= "" then + if v and v ~= "" then return false end end