Closed Winston2108 closed 4 years ago
CTLD.lua line 2439:
if ctld.isJTACUnitType(_crate.details.unit) and ctld.JTAC_dropEnabled then local _code = ctld.getLaserCode(_heli:getCoalition()) ctld.JTACAutoLase(_spawnedGroups:getName(), _code) end
Similar issues in bases.lua fixed in upcoming commit.
Currently we only add JTAC behaviour to CTLD-sourced units; these units have been added to base defences so we need to move the "add CTLD JTAC behaviour" call to the point where we either unpack, reload from disk or activate from base defence units.