【战斗0.0.6】修复判断数据是否存在接口错误

gaoxin 2020-10-20 20:26:44 +08:00
parent a3b8be0abe
commit 8081350fbe
1 changed files with 1 additions and 3 deletions

View File

@ -374,10 +374,8 @@ end
function BattleUtil.ChecklistIsContainValue(_list,_value)
if _list and _value then
for key, value in pairs(_list) do
if value==_value then
if value ==_value then
return true
else
return false
end
end
end