Skip to content

Commit af86e9c

Browse files
committed
remove unused
1 parent 4a8ae06 commit af86e9c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Modules/Build.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,10 @@ function buildMode:Init(dbFileName, buildName, buildXML, convertBuild, importLin
289289
local function findSetId(setOrderList, value, sets, setSpecialLinks)
290290
for setIndex, setOrder in pairs(setOrderList) do
291291
if value == (sets[setOrder].title or "Default") then
292-
--index = setIndex
293-
return setIndex --setOrder works until you delete something
292+
return setIndex
294293
else
295294
local linkMatch = string.match(value, "%{(%w+)%}")
296295
if linkMatch then
297-
--index = setIndex
298296
return setSpecialLinks[linkMatch]["setId"]
299297
end
300298
end

0 commit comments

Comments
 (0)