mirror of
https://github.com/mrSkortch/MissionScriptingTools.git
synced 2026-07-16 22:32:42 +00:00
Merge pull request #18 from ciribob/master
Fix for Vec3 related typo in groupRandomDistSelf
This commit is contained in:
@@ -3924,7 +3924,7 @@ mist.groupRandomDistSelf = function(gpData, dist, form, heading, speed)
|
||||
local pos = mist.getLeadPos(gpData)
|
||||
local fakeZone = {}
|
||||
fakeZone.radius = dist or math.random(300, 1000)
|
||||
fakeZone.point = {x = pos.x, y, pos.y, z = pos.z}
|
||||
fakeZone.point = {x = pos.x, y = pos.y, z = pos.z}
|
||||
mist.groupToRandomZone(gpData, fakeZone, form, heading, speed)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user