Commit 1638aa94 authored by mercury233's avatar mercury233

fix

parent aaaa4128
...@@ -2135,6 +2135,7 @@ function Group.SelectSubGroup(g,tp,f,cancelable,min,max,...) ...@@ -2135,6 +2135,7 @@ function Group.SelectSubGroup(g,tp,f,cancelable,min,max,...)
while #sg<max do while #sg<max do
local cg=g:Filter(Auxiliary.CheckGroupRecursive,sg,sg,g,f,min,max,ext_params) local cg=g:Filter(Auxiliary.CheckGroupRecursive,sg,sg,g,f,min,max,ext_params)
finish=(#sg>=min and #sg<=max and f(sg,...)) finish=(#sg>=min and #sg<=max and f(sg,...))
if #cg==0 then break end
local cancel=not finish and cancelable local cancel=not finish and cancelable
local tc=cg:SelectUnselect(sg,tp,finish,cancel,min,max) local tc=cg:SelectUnselect(sg,tp,finish,cancel,min,max)
if not tc then break end if not tc then break 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