Skip to content

Commit

Permalink
fix team ai revive location (sh catchup)
Browse files Browse the repository at this point in the history
Co-Authored-By: Sebastian Gabl (aka Hoppip) <sebastian.gabl@gmx.at>
  • Loading branch information
nikitawastaken and segabl committed Jul 22, 2024
1 parent 3610e40 commit d9dcc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/coplogictravel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d9dcc94

Please sign in to comment.