From 7dcff7ec9c543cb6f06914b18b15774bdfd00569 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Tue, 13 Feb 2024 16:43:45 +0100 Subject: [PATCH] CommandSetInvisible/CommandSetImmortal right word order --- Moose Development/Moose/Wrapper/Group.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Moose Development/Moose/Wrapper/Group.lua b/Moose Development/Moose/Wrapper/Group.lua index 52741e2c2..a37c32132 100644 --- a/Moose Development/Moose/Wrapper/Group.lua +++ b/Moose Development/Moose/Wrapper/Group.lua @@ -2780,6 +2780,14 @@ end -- @param #boolean switch If true, Invisible is enabled. If false, Invisible is disabled. -- @return #GROUP self function GROUP:SetCommandInvisible(switch) + return self:CommandSetInvisible(switch) +end + +--- Switch on/off invisible flag for the group. +-- @param #GROUP self +-- @param #boolean switch If true, Invisible is enabled. If false, Invisible is disabled. +-- @return #GROUP self +function GROUP:CommandSetInvisible(switch) self:F2( self.GroupName ) if switch==nil then switch=false @@ -2794,6 +2802,14 @@ end -- @param #boolean switch If true, Immortal is enabled. If false, Immortal is disabled. -- @return #GROUP self function GROUP:SetCommandImmortal(switch) + return self:CommandSetImmortal(switch) +end + +--- Switch on/off immortal flag for the group. +-- @param #GROUP self +-- @param #boolean switch If true, Immortal is enabled. If false, Immortal is disabled. +-- @return #GROUP self +function GROUP:CommandSetImmortal(switch) self:F2( self.GroupName ) if switch==nil then switch=false