From 10b93d770317fb871320abbe0cc27838f8c1760b Mon Sep 17 00:00:00 2001 From: spencershepard Date: Sat, 1 Feb 2025 12:50:53 -0800 Subject: [PATCH] Update RotorOps.lua --- scripts/RotorOps.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/RotorOps.lua b/scripts/RotorOps.lua index 8bac8be..214dffa 100644 --- a/scripts/RotorOps.lua +++ b/scripts/RotorOps.lua @@ -1,5 +1,5 @@ RotorOps = {} -RotorOps.version = "1.4.4" +RotorOps.version = "1.4.5" local debug = false @@ -1137,7 +1137,7 @@ function RotorOps.assessUnitsInZone(var) local halt_convoy = false 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:isExist() then halt_convoy = true @@ -1146,7 +1146,7 @@ function RotorOps.assessUnitsInZone(var) RotorOps.convoy_suppressor = nil end - elseif not RotorOps.predAirSupportNearActive() and not RotorOps.defending then + elseif not RotorOps.predAirSupportNearActive() then convoy_status = "waiting_for_escort" halt_convoy = true end