From d9dcc949709456a6f0d76c2762692aa3a3562734 Mon Sep 17 00:00:00 2001 From: nikita <59087849+mrcreepysos@users.noreply.github.com> Date: Mon, 22 Jul 2024 17:26:22 +0300 Subject: [PATCH] fix team ai revive location (sh catchup) Co-Authored-By: Sebastian Gabl (aka Hoppip) --- lua/coplogictravel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/coplogictravel.lua b/lua/coplogictravel.lua index 37f2954..cb90e22 100644 --- a/lua/coplogictravel.lua +++ b/lua/coplogictravel.lua @@ -174,7 +174,7 @@ function CopLogicTravel._determine_destination_occupation(data, objective, ...) return _determine_destination_occupation_original(data, objective, ...) end - if alive(objective.follow_unit) then + if alive(objective.follow_unit) and objective.type ~= "revive" then local follow_tracker = objective.follow_unit:movement():nav_tracker() local follow_nav_seg = follow_tracker:nav_segment() local follow_pos = follow_tracker:field_position()