RADIOQUEUE
- Fix for issue #1321

USERFLAG
- Added delay parameter

CLEANUP
- Fixes iniunit nil #1324

WAREHOUSE v1.0.2
- Fixes #1322
This commit is contained in:
Frank
2020-05-16 13:09:04 +02:00
parent 7d8e27c83e
commit c30ca2b18a
6 changed files with 72 additions and 6 deletions

View File

@@ -245,7 +245,7 @@ end
function CLEANUP_AIRBASE.__:OnEventBirth( EventData )
self:F( { EventData } )
if EventData.IniUnit:IsAlive() ~= nil then
if EventData and EventData.IniUnit and EventData.IniUnit:IsAlive() ~= nil then
if self:IsInAirbase( EventData.IniUnit:GetVec2() ) then
self.CleanUpList[EventData.IniDCSUnitName] = {}
self.CleanUpList[EventData.IniDCSUnitName].CleanUpUnit = EventData.IniUnit

View File

@@ -1764,7 +1764,7 @@ _WAREHOUSEDB = {
--- Warehouse class version.
-- @field #string version
WAREHOUSE.version="1.0.1"
WAREHOUSE.version="1.0.2"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- TODO: Warehouse todo list.
@@ -8404,7 +8404,7 @@ end
-- @return #string Text about warehouse stock
function WAREHOUSE:_UpdateWarehouseMarkText()
if self.makerOn then
if self.markerOn then
-- Create a mark with the current assets in stock.
if self.markerid~=nil then