Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Nanahira-Cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Nanahira-Cards
Commits
248f5554
Commit
248f5554
authored
Apr 21, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
86dc7967
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
expansions/script/c37564765.lua
expansions/script/c37564765.lua
+1
-1
No files found.
expansions/script/c37564765.lua
View file @
248f5554
...
@@ -167,7 +167,7 @@ function cm.SelectGroupNew(tp,desc,cancelable,g,f,cg,min,max,...)
...
@@ -167,7 +167,7 @@ function cm.SelectGroupNew(tp,desc,cancelable,g,f,cg,min,max,...)
local
seg
=
sg
:
Clone
()
local
seg
=
sg
:
Clone
()
seg
:
Sub
(
cg
)
seg
:
Sub
(
cg
)
local
finish
=
(
#
sg
>=
min
and
#
sg
<=
max
and
f
(
sg
,
...
))
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
dmin
=#
sg
local
dmax
=
math.min
(
max
,
#
g
)
local
dmax
=
math.min
(
max
,
#
g
)
local
tc
=
nil
local
tc
=
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment