mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#Core.Point
* Cleanup GetClosestAirbase()
This commit is contained in:
parent
eecef9a0aa
commit
66d5ba9981
@ -1851,7 +1851,7 @@ function CSAR:_GetClosestMASH(_heli)
|
||||
|
||||
if self.allowFARPRescue then
|
||||
local position = _heli:GetCoordinate()
|
||||
local afb,distance = position:GetClosestAirbase2(nil,self.coalition)
|
||||
local afb,distance = position:GetClosestAirbase(nil,self.coalition)
|
||||
_shortestDistance = distance
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user