【青龙秘宝】=====添加空判断
parent
cc883eadff
commit
18660a1954
|
@ -273,7 +273,7 @@ function this:SetDataList(rewardData)
|
|||
for i = 1, #rewardData do
|
||||
local id = rewardData[i].id
|
||||
local num = rewardData[i].num
|
||||
if not temp[id] then
|
||||
if not temp[id] and id~=0 then
|
||||
temp[id] = 0
|
||||
end
|
||||
temp[id] = temp[id] + num
|
||||
|
|
Loading…
Reference in New Issue