mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Finish SET_AIRBASE_does_not_update_#817
This commit is contained in:
commit
cf6b7365af
@ -152,11 +152,8 @@ function SET_BASE:Remove( ObjectName )
|
|||||||
|
|
||||||
local Object = self.Set[ObjectName]
|
local Object = self.Set[ObjectName]
|
||||||
|
|
||||||
self:F( { ObjectName, Object } )
|
|
||||||
|
|
||||||
if Object then
|
if Object then
|
||||||
for Index, Key in ipairs( self.Index ) do
|
for Index, Key in ipairs( self.Index ) do
|
||||||
self:F( { Index = Index, Key = Key } )
|
|
||||||
if Key == ObjectName then
|
if Key == ObjectName then
|
||||||
table.remove( self.Index, Index )
|
table.remove( self.Index, Index )
|
||||||
self.Set[ObjectName] = nil
|
self.Set[ObjectName] = nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user