Commit 4c40f929 authored by TanakaKotoha's avatar TanakaKotoha

Black Square

parent 99877a00
......@@ -46,7 +46,7 @@ function cm.gcheck(g,mft,eft1,eft2)
return c:IsLocation(LOCATION_EXTRA) and c:IsFacedown() and not c:IsType(TYPE_LINK)
end,nil)
local ect2=g:FilterCount(function(c)
return c:IsLocation(LOCATION_EXTRA) and c(:IsFaceup() or c:IsType(TYPE_LINK))
return c:IsLocation(LOCATION_EXTRA) and (c:IsFaceup() or c:IsType(TYPE_LINK))
end,nil)
return ect1<=eft1 and ect2<=eft2 and #g-ect1-ect2<=mft
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