From e036ec0adfb1b5be3264b4ba59664867e348c75e Mon Sep 17 00:00:00 2001 From: FlightControl_Master Date: Sun, 10 Dec 2017 19:02:20 +0100 Subject: [PATCH] Fixing error with SET_BASE:GetSet(). It was the wrong approach to solve the Menu issues. Setting back to the original. --- Moose Development/Moose/Core/Set.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Moose Development/Moose/Core/Set.lua b/Moose Development/Moose/Core/Set.lua index 2e46bca29..e98007512 100644 --- a/Moose Development/Moose/Core/Set.lua +++ b/Moose Development/Moose/Core/Set.lua @@ -719,20 +719,20 @@ end --- Gets the Set. -- @param #SET_GROUP self -- @return #SET_GROUP self -function SET_BASE:GetSet() - self:F2() - - -- Clean the Set before returning with only the alive Groups. - for GroupName, GroupObject in pairs( self.Set ) do - if GroupObject then - if not GroupObject:IsAlive() then - self:Remove( GroupName ) - end - end - end - - return self.Set -end +--function SET_BASE:GetSet() +-- self:F2() +-- +-- -- Clean the Set before returning with only the alive Groups. +-- for GroupName, GroupObject in pairs( self.Set ) do +-- if GroupObject then +-- if not GroupObject:IsAlive() then +-- self:Remove( GroupName ) +-- end +-- end +-- end +-- +-- return self.Set +--end --- Add GROUP(s) to SET_GROUP.