Fix issues with MakeGoalReachable when the goal wasn't reachable following D1882/rP22817
This fixes the issue and adds a regression test.
Differential Revision: https://code.wildfiregames.com/D2277
Fix issues with MakeGoalReachable when the goal wasn't reachable following…
Description
Details
Event TimelineComment Actions ERROR: JavaScript error: simulation/ai/common-api/map-module.js line 44 TypeError: p is undefined at turn 1092 in replay (SVN 22882). Comment Actions Fixed issue reported by faction02 in a forum PM and analyzed by Freagarach, thank you!! Comment Actions I did, but it was prompted by faction02's PM. I should have credited him, but at the moment of writing the commit message it slipped my mind as it was not in the diff. |