Commit af6771ba authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent e9d8a27f
......@@ -458,7 +458,7 @@ function Auxiliary.AddFusionProcMix(c,sub,insf,...)
table.insert(mat,val[i])
end
end
if c.material_count==nil then
if #mat>0 and c.material_count==nil then
local code=c:GetOriginalCode()
local mt=_G["c" .. code]
mt.material_count=#mat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment