购买等级报错修改

jiaoyangna 2020-10-15 16:38:32 +08:00
parent feda1432e3
commit 8759e04261
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ function this:Caculate(templv)
direct[id] = 0
end
direct[id] = direct[id] + num
elseif reward.Reward[j].type == 2 and treasureState > 0 then
elseif reward.Reward[j].type == 2 and treasureState then
if not direct[id] then
direct[id] = 0
end