回炉修改
parent
2653838516
commit
f123e5fe04
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue