mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
CommandSetInvisible/CommandSetImmortal right word order
This commit is contained in:
parent
67e52120d4
commit
7dcff7ec9c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user