mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
Update RotorOps.lua
This commit is contained in:
parent
4218f79cbb
commit
10b93d7703
@ -1,5 +1,5 @@
|
|||||||
RotorOps = {}
|
RotorOps = {}
|
||||||
RotorOps.version = "1.4.4"
|
RotorOps.version = "1.4.5"
|
||||||
local debug = false
|
local debug = false
|
||||||
|
|
||||||
|
|
||||||
@ -1137,7 +1137,7 @@ function RotorOps.assessUnitsInZone(var)
|
|||||||
local halt_convoy = false
|
local halt_convoy = false
|
||||||
local convoy_status = "enroute"
|
local convoy_status = "enroute"
|
||||||
|
|
||||||
if #attacking_ground_units > 0 and RotorOps.halt_convoy_without_airsupport then
|
if #attacking_ground_units > 0 and not RotorOps.defending and RotorOps.halt_convoy_without_airsupport then
|
||||||
if RotorOps.convoy_suppressor then
|
if RotorOps.convoy_suppressor then
|
||||||
if RotorOps.convoy_suppressor:isExist() then
|
if RotorOps.convoy_suppressor:isExist() then
|
||||||
halt_convoy = true
|
halt_convoy = true
|
||||||
@ -1146,7 +1146,7 @@ function RotorOps.assessUnitsInZone(var)
|
|||||||
RotorOps.convoy_suppressor = nil
|
RotorOps.convoy_suppressor = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
elseif not RotorOps.predAirSupportNearActive() and not RotorOps.defending then
|
elseif not RotorOps.predAirSupportNearActive() then
|
||||||
convoy_status = "waiting_for_escort"
|
convoy_status = "waiting_for_escort"
|
||||||
halt_convoy = true
|
halt_convoy = true
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user