Commit 12bec6be authored by nanahira's avatar nanahira

Merge branch 'master' into 2018

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