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

update Auxiliary.LCheckOtherMaterial

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