mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
CHIEF
**CHIEF** v0.5.0 - Added `CHIEF:AddTransportToResource` function **OPSZONE** - Added `Undraw` option **UTILS** - Added `UTILS.EnsureTable` function
This commit is contained in:
@@ -641,10 +641,8 @@ function OPSZONE:onafterStop(From, Event, To)
|
||||
-- Reinit the timer.
|
||||
self.timerStatus:Stop()
|
||||
|
||||
-- Draw zone.
|
||||
if self.drawZone then
|
||||
self.zone:UndrawZone()
|
||||
end
|
||||
-- Undraw zone.
|
||||
self.zone:UndrawZone()
|
||||
|
||||
-- Remove marker.
|
||||
if self.markZone then
|
||||
@@ -691,6 +689,11 @@ function OPSZONE:Status()
|
||||
-- Update F10 marker (only if enabled).
|
||||
self:_UpdateMarker()
|
||||
|
||||
-- Undraw zone.
|
||||
if self.zone.DrawID and not self.drawZone then
|
||||
self.zone:UndrawZone()
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user