mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
prep for defense
This commit is contained in:
parent
fd3c527f1e
commit
37edc11c43
@ -1137,7 +1137,7 @@ function RotorOps.assessUnitsInZone(var)
|
||||
local halt_convoy = false
|
||||
local convoy_status = "enroute"
|
||||
|
||||
if #attacking_ground_units > 0 and not RotorOps.defending and RotorOps.halt_convoy_without_airsupport then
|
||||
if #attacking_ground_units > 0 and RotorOps.halt_convoy_without_airsupport then
|
||||
if RotorOps.convoy_suppressor then
|
||||
if RotorOps.convoy_suppressor:isExist() then
|
||||
halt_convoy = true
|
||||
@ -1146,7 +1146,7 @@ function RotorOps.assessUnitsInZone(var)
|
||||
RotorOps.convoy_suppressor = nil
|
||||
end
|
||||
|
||||
elseif not RotorOps.predAirSupportNearActive() then
|
||||
elseif not RotorOps.predAirSupportNearActive() and not RotorOps.defending then
|
||||
convoy_status = "waiting_for_escort"
|
||||
halt_convoy = true
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user