Commit fe487e43 authored by nanahira's avatar nanahira

fix & revert

parent a8cdb7e2
...@@ -1852,9 +1852,9 @@ function Auxiliary.LCheckOtherMaterial(c,sg,lc) ...@@ -1852,9 +1852,9 @@ function Auxiliary.LCheckOtherMaterial(c,sg,lc)
end end
function Auxiliary.LCheckMaterialCompatibility(sg,lc) function Auxiliary.LCheckMaterialCompatibility(sg,lc)
for tc in Auxiliary.Next(sg) do for tc in Auxiliary.Next(sg) do
sg:RemoveCard(tc) local mg=sg:Clone()
local res=Auxiliary.LCheckOtherMaterial(tc,sg,lc) local res=Auxiliary.LCheckOtherMaterial(tc,mg,lc)
sg:AddCard(tc) mg:DeleteGroup()
if not res then return false end if not res then return false end
end end
return true return true
......
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