Feature/mark contact (#45)

* fixed for static train carts having no category?

* Added lastContact logic to be able to mark the location where a unit was last killed in a mission

---------

Co-authored-by: dutchie032 <dutchie032>
This commit is contained in:
2025-05-28 13:58:03 +02:00
committed by GitHub
co-authored by dutchie032 <dutchie032>
parent 90c8d113fd
commit d6178bcdd7
7 changed files with 66 additions and 15 deletions
@@ -188,7 +188,7 @@ function MissionCommandsHelper:AddOverviewCommand(groupID)
end
end
return string.format("[%s]\t%s \t%s \t%s nM\n", mission.code, mission.missionTypeDisplay, mission.name, distanceText)
return string.format("[%s]\t%s \t%s \t%s %% \t%s nM\n", mission.code, mission.missionTypeDisplay, mission.name, mission:PercentageComplete(), distanceText)
end
---Primary missions