**CHIEF** v0.5.0
- Added `CHIEF:AddTransportToResource` function

**OPSZONE**
- Added `Undraw` option

**UTILS**
- Added `UTILS.EnsureTable` function
This commit is contained in:
Frank
2022-09-26 19:00:26 +02:00
parent 4b4c9ba959
commit 6de3a45a51
3 changed files with 98 additions and 60 deletions

View File

@@ -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
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------