mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2026-08-20 07:43:01 +00:00
commit
This commit is contained in:
@@ -2065,7 +2065,7 @@ function ctld.repackVehicle(_params, t) -- scan rrs table 'repackRequestsStack'
|
|||||||
end
|
end
|
||||||
|
|
||||||
if ctld.isUnitInALogisticZone(repackableUnitName) == nil then
|
if ctld.isUnitInALogisticZone(repackableUnitName) == nil then
|
||||||
ctld.addStaticLogisticUnit({ x = spawnRefPoint.x + 5, z = spawnRefPoint.z + 10 }, refCountry) -- create a temporary logistic unit to be able to repack the vehicle
|
--ctld.addStaticLogisticUnit({ x = spawnRefPoint.x + 5, z = spawnRefPoint.z + 10 }, refCountry) -- create a temporary logistic unit to be able to repack the vehicle
|
||||||
end
|
end
|
||||||
repackableUnit:destroy() -- destroy repacked unit
|
repackableUnit:destroy() -- destroy repacked unit
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user