回炉修改

dev_chengFeng
yuanshuai 2023-04-07 14:11:44 +08:00
parent 2653838516
commit f123e5fe04
1 changed files with 3 additions and 1 deletions

View File

@ -199,7 +199,9 @@ function this.ResetBtnOnClick()
if matrs then
for i = 1, #matrs do
local mat=matrs[i]
table.insert(allMaterials,{mat[1],mat[2]})
if mat[2]>0 then
table.insert(allMaterials,{mat[1],mat[2]})
end
end
end
end