From 9a3effd063cea53fc4de2f2fcc0090dcfbd89a2a Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Mon, 15 Apr 2024 18:54:22 +0200 Subject: [PATCH] Docu --- Moose Development/Moose/Core/Base.lua | 2 +- Moose Development/Moose/Core/Set.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Moose Development/Moose/Core/Base.lua b/Moose Development/Moose/Core/Base.lua index d4851370c..3cb847f54 100644 --- a/Moose Development/Moose/Core/Base.lua +++ b/Moose Development/Moose/Core/Base.lua @@ -1153,7 +1153,7 @@ function BASE:_Serialize(Arguments) text = string.gsub(text,"(\n+)","") text = string.gsub(text,"%(%(","%(") text = string.gsub(text,"%)%)","%)") - text = string.gsub(text,"(%s+)","") + text = string.gsub(text,"(%s+)"," ") return text end diff --git a/Moose Development/Moose/Core/Set.lua b/Moose Development/Moose/Core/Set.lua index af0dfe661..ce3a11827 100644 --- a/Moose Development/Moose/Core/Set.lua +++ b/Moose Development/Moose/Core/Set.lua @@ -4388,8 +4388,8 @@ do -- SET_CLIENT return self end - --- Builds a set of CLIENTs that contain the given string in their unit/pilot name. - -- **Attention!** Bad naming convention as this **does not** filter only **prefixes** but all clients that **contain** the string. + --- 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. Pattern matching applies. -- @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. -- @return #SET_CLIENT self