mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
-- Fix issue SET_AIRBASE does not update #817.
This commit is contained in:
parent
e22e7f2c58
commit
747777b297
@ -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