This commit is contained in:
FullGas1 2025-03-23 17:09:35 +01:00
parent 111fd73b94
commit b6232d3c15

View File

@ -2059,7 +2059,7 @@ function ctld.repackVehicle(_params, t) -- scan rrs table 'repackRequestsStack
local crateWeight = v[1].weight
local repackableUnit = Unit.getByName(repackableUnitName)
local PlayerTransportUnit = Unit.getByName(v[2][1])
local PlayerTransportUnit = Unit.getByName(v[2])
local TransportUnit = ctld.getTransportUnit(PlayerTransportUnitName)
local spawnRefPoint = PlayerTransportUnit:getPoint()
local refCountry = PlayerTransportUnit:getCountry()