From 3f9f07ade2593fa7f875fa9bfb1c30de05af08e0 Mon Sep 17 00:00:00 2001 From: Ambroise Garel <47314805+akaAgar@users.noreply.github.com> Date: Sat, 26 Jul 2025 19:45:00 +0200 Subject: [PATCH] Checks wingman tasking every tick to make sure target is still alive --- Script/Script.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Script/Script.lua b/Script/Script.lua index eb9b682..b05ff78 100644 --- a/Script/Script.lua +++ b/Script/Script.lua @@ -136,6 +136,8 @@ do local nextTickTime = time + math.random(10, 20) clockTick = clockTick + 1 + TUM.wingmenTasking.onClockTick() -- No need to check the function return, it's just here to check if wingmen target is still alive + if clockTick % 4 == 0 then if TUM.playerScore.onClockTick() then return nextTickTime end if TUM.mission.onClockTick() then return nextTickTime end