Merge pull request #2259 from FlightControl-Master/master

Master merge
This commit is contained in:
Thomas
2025-02-23 08:40:49 +01:00
committed by GitHub

View File

@@ -4263,6 +4263,9 @@ function CONTROLLABLE:RelocateGroundRandomInRadius( speed, radius, onroad, short
self:F2( { self.ControllableName } )
local _coord = self:GetCoordinate()
if not _coord then
return self
end
local _radius = radius or 500
local _speed = speed or 20
local _tocoord = _coord:GetRandomCoordinateInRadius( _radius, 100 )