mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
fixes
This commit is contained in:
2
CTLD.lua
2
CTLD.lua
@@ -2163,7 +2163,7 @@ function ctld.getUnitsInLogisticZone(_logisticUnitName, _coalition)
|
|||||||
end
|
end
|
||||||
-- ***************************************************************
|
-- ***************************************************************
|
||||||
function ctld.isUnitInNamedLogisticZone(_unitName, _logisticUnitName) -- check if a unit is in the named logistic zone
|
function ctld.isUnitInNamedLogisticZone(_unitName, _logisticUnitName) -- check if a unit is in the named logistic zone
|
||||||
trigger.action.outText('ctld.isUnitInNamedLogisticZone._logisticUnitName = ',tostring(_logisticUnitName), 10)
|
trigger.action.outText('ctld.isUnitInNamedLogisticZone._logisticUnitName = '..tostring(_logisticUnitName), 10)
|
||||||
local _unit = Unit.getByName(_unitName)
|
local _unit = Unit.getByName(_unitName)
|
||||||
if _unit == nil then
|
if _unit == nil then
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user