reset spread values for crates spawning to the default, as suggested by @atcz (thanks)

This commit is contained in:
David Pierron 2024-11-10 18:38:36 +01:00
parent b1a50daa0b
commit 1e5a627d63

View File

@ -4463,9 +4463,9 @@ function ctld.spawnCrateGroup(_heli, _positions, _types, _hdgs)
}
local _hdg = 120 * math.pi / 180 -- radians = 120 degrees
local _spreadMin = 2
local _spreadMin = 5
local _spreadMax = 5
local _spreadMult = 2
local _spreadMult = 1
for _i, _pos in ipairs(_positions) do
local _unitId = ctld.getNextUnitId()