Have partitioner split on "," instead of space

This commit is contained in:
2025-01-03 13:22:56 +01:00
parent 2811396234
commit 7e8978044f

View File

@@ -373,7 +373,7 @@ function shared.Whoer.Init()
---@return string[] ---@return string[]
local function Partition(text, size) local function Partition(text, size)
local words = {} local words = {}
for word in text:gmatch("%S+") do for word in text:gmatch("[^,]+") do
words[#words + 1] = word words[#words + 1] = word
end end