mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-21 21:17:30 +00:00
-- Fix issue SET_AIRBASE does not update #817.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user