mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
- NAVYGROUP added engage target - Barrage improvments
This commit is contained in:
@@ -3137,7 +3137,7 @@ function FLIGHTGROUP:FindNearestTanker(Radius)
|
||||
|
||||
local istanker, refuelsystem=unit:IsTanker()
|
||||
|
||||
if istanker and self.refueltype==refuelsystem and unit:GetCoalition()==self:GetCoalition() then
|
||||
if istanker and self.refueltype==refuelsystem and unit:IsAlive() and unit:GetCoalition()==self:GetCoalition() then
|
||||
|
||||
-- Distance.
|
||||
local d=unit:GetCoordinate():Get2DDistance(coord)
|
||||
|
||||
Reference in New Issue
Block a user