Commit f89235fe authored by mercury233's avatar mercury233

fix

parent fcd79c14
...@@ -272,7 +272,7 @@ function Auxiliary.MustMaterialCheck(v,tp,code) ...@@ -272,7 +272,7 @@ function Auxiliary.MustMaterialCheck(v,tp,code)
local t=Auxiliary.GetValueType(v) local t=Auxiliary.GetValueType(v)
for tc in Auxiliary.Next(g) do for tc in Auxiliary.Next(g) do
if (t=="Card" and v~=tc) if (t=="Card" and v~=tc)
or (t=="Group" and not v:IsExists(tc)) then return false end or (t=="Group" and not v:IsContains(tc)) 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