Commit 223f9096 authored by nanahira's avatar nanahira

Merge branch 'master' into new

parents ec74cffc 248f5554
......@@ -167,7 +167,7 @@ function cm.SelectGroupNew(tp,desc,cancelable,g,f,cg,min,max,...)
local seg=sg:Clone()
seg:Sub(cg)
local finish=(#sg>=min and #sg<=max and f(sg,...))
local cancel=finish or (cancelable and #seg==0)
local cancel=cancelable and not finish
local dmin=#sg
local dmax=math.min(max,#g)
local tc=nil
......
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