This commit is contained in:
Applevangelist 2024-04-15 18:54:22 +02:00
parent b9bd8d88a9
commit 9a3effd063
2 changed files with 3 additions and 3 deletions

View File

@ -1153,7 +1153,7 @@ function BASE:_Serialize(Arguments)
text = string.gsub(text,"(\n+)","") text = string.gsub(text,"(\n+)","")
text = string.gsub(text,"%(%(","%(") text = string.gsub(text,"%(%(","%(")
text = string.gsub(text,"%)%)","%)") text = string.gsub(text,"%)%)","%)")
text = string.gsub(text,"(%s+)","") text = string.gsub(text,"(%s+)"," ")
return text return text
end end

View File

@ -4388,8 +4388,8 @@ do -- SET_CLIENT
return self return self
end end
--- Builds a set of CLIENTs that contain the given string in their unit/pilot name. --- Builds a set of CLIENTs that contain the given string in their **unit/pilot** name and **NOT** the group name!
-- **Attention!** Bad naming convention as this **does not** filter only **prefixes** but all clients that **contain** the string. -- **Attention!** Bad naming convention as this **does not** filter only **prefixes** but all clients that **contain** the string. Pattern matching applies.
-- @param #SET_CLIENT self -- @param #SET_CLIENT self
-- @param #string Prefixes The string pattern(s) that needs to be contained in the unit/pilot name. Can also be passed as a `#table` of strings. -- @param #string Prefixes The string pattern(s) that needs to be contained in the unit/pilot name. Can also be passed as a `#table` of strings.
-- @return #SET_CLIENT self -- @return #SET_CLIENT self