mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
The flight plan used to not include a waypoint for departure, so a few places would create one for the sake of the UI, or were built to assume there was a missing waypoint that was okay to ignore. At some point we added them to the flight plan, but never updated the UI, so the waypoint list in the flight dialog started counting from 1 instead of 0, and the openapi endpoint wrongly reported two departure waypoints to the front- end. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3037. (cherry picked from commit f7b0dfc3a5c9c7a85c47e2bb84d9eca1014249f4)