Commit a8cdb7e2 authored by nanahira's avatar nanahira

fix

parent 58247202
......@@ -1846,7 +1846,7 @@ function Auxiliary.LCheckOtherMaterial(c,sg,lc)
local le={c:IsHasEffect(EFFECT_EXTRA_LINK_MATERIAL)}
for _,te in pairs(le) do
local f=te:GetValue()
if f and not f(te,lc,mg) then return false end
if f and not f(te,lc,sg) then return false end
end
return true
end
......
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