linter fixes
PR Prerequisites / Lua Check (pull_request) Failing after 20s
PR Prerequisites / Bundles Without Errors (pull_request) Failing after 28s

This commit is contained in:
2026-09-09 11:12:58 +02:00
parent ba240db310
commit 0346f8a7a8
40 changed files with 367 additions and 536 deletions
@@ -103,7 +103,7 @@ function CapGroup:InitWithName(groupName)
return
end
local subsplit = Util.split_string(configPart, "|")
if subsplit then
@@ -112,8 +112,8 @@ function CapGroup:InitWithName(groupName)
local targetZone = keySplit[2]
local allActives = string.sub(keySplit[1], 2, #keySplit[1])
local commaSeperated = Util.split_string(allActives, ",")
for _, value in pairs(commaSeperated) do
local dashSeperated = Util.split_string(value, "-")
for _, childValue in pairs(commaSeperated) do
local dashSeperated = Util.split_string(childValue, "-")
if Util.tableLength(dashSeperated) > 1 then
local from = tonumber(dashSeperated[1])
local till = tonumber(dashSeperated[2])