【青龙秘宝】=====添加空判断

dev_chengFeng
wangzhenxing 2022-07-04 18:08:07 +08:00
parent cc883eadff
commit 18660a1954
1 changed files with 1 additions and 1 deletions

View File

@ -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