mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fixing SET_GROUP RemoveGroupsByName method.
This commit is contained in:
@@ -860,7 +860,7 @@ do -- SET_GROUP
|
|||||||
local RemoveGroupNamesArray = ( type( RemoveGroupNames ) == "table" ) and RemoveGroupNames or { RemoveGroupNames }
|
local RemoveGroupNamesArray = ( type( RemoveGroupNames ) == "table" ) and RemoveGroupNames or { RemoveGroupNames }
|
||||||
|
|
||||||
for RemoveGroupID, RemoveGroupName in pairs( RemoveGroupNamesArray ) do
|
for RemoveGroupID, RemoveGroupName in pairs( RemoveGroupNamesArray ) do
|
||||||
self:Remove( RemoveGroupName.GroupName )
|
self:Remove( RemoveGroupName )
|
||||||
end
|
end
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|||||||
Reference in New Issue
Block a user