Commit a3ed1374 authored by nanahira's avatar nanahira

fix

parent ff5f488a
......@@ -47,6 +47,7 @@ function cm.filter2(c,e,tp,m,f,chkf,l)
end
function cm.ReplaceLocationCount(f,ec)
return function(tp,p,g,fc)
local g=g or Group.CreateGroup()
if g:IsContains(ec) then return f(tp,p,g,fc) end
g:AddCard(ec)
local res=f(tp,p,g,fc)
......
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