From 3eaa08b74e050b81506369666b402043606335a7 Mon Sep 17 00:00:00 2001 From: FullGas1 Date: Wed, 26 Mar 2025 00:01:15 +0100 Subject: [PATCH] fixes --- CTLD.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CTLD.lua b/CTLD.lua index 9117df3..3d2f271 100644 --- a/CTLD.lua +++ b/CTLD.lua @@ -2037,7 +2037,7 @@ function ctld.repackVehicle(_params, t) -- scan rrs table 'repackRequestsStack' -- see to spawn the crate at random position heading the transport unnit local _unitId = ctld.getNextUnitId() local _name = string.format("%s_%i", v[1].desc, _unitId) - local relativePoint = ctld.getRelativePoint(playerPoint, 10 + i * offset, randomHeading) + local relativePoint = ctld.getRelativePoint(playerPoint, 7 + i * offset, randomHeading) -- 7 meters from the transport unit ctld.spawnCrateStatic(PlayerTransportUnit:getCountry(), _unitId, relativePoint, _name, crateWeight, PlayerTransportUnit:getCoalition(), mist.getHeading(PlayerTransportUnit, true)) end