mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
This PR addresses #3066 by restricting the list of control points in the new unit transfer dialog to control points reachable from the origin. This change centralizes the logic for reachable nodes to the TransitNetworkBuilder class. This PR was tested by: 1. Loading save from #3066 2. Using cheat menu to destroy runway at Wadi al Jandali 3. Purchasing units at any of the other control points 4. Pass the turn to allow the purchase to complete 5. Initiating a unit transfer from the other control point and confirming that Wadi al Jandali does not show up in the list Steps 2-4 are needed as no ground units show up at Melez when loading the save directly from the latest dev build. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3066.