Have partitioner split on "," instead of space
This commit is contained in:
@@ -373,7 +373,7 @@ function shared.Whoer.Init()
|
||||
---@return string[]
|
||||
local function Partition(text, size)
|
||||
local words = {}
|
||||
for word in text:gmatch("%S+") do
|
||||
for word in text:gmatch("[^,]+") do
|
||||
words[#words + 1] = word
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user