diff --git a/Script/The Universal Mission/Objectives.lua b/Script/The Universal Mission/Objectives.lua index fdf1a71..d0d5914 100644 --- a/Script/The Universal Mission/Objectives.lua +++ b/Script/The Universal Mission/Objectives.lua @@ -171,13 +171,12 @@ do if index < 1 or index > #objectives then return end -- Out of bounds if objectives[index].completed then return end -- Objective already completed - if event.id ~= world.event.S_EVENT_DEAD then return end + if event.id ~= world.event.S_EVENT_DEAD and event.id ~= world.event.S_EVENT_UNIT_LOST then return end if not event.initiator then return end if objectives[index].isSceneryTarget then if Object.getCategory(event.initiator) == Object.Category.SCENERY then if DCSEx.math.isSamePoint(event.initiator:getPoint(), objectives[index].point3) then - -- markObjectiveAsComplete(index) timer.scheduleFunction(markObjectiveAsComplete, index, timer.getTime() + 3) end end