This only happened if using the context menu for cashing in the treasure train while the treasure train was the active unit. The code for deselecting the active unit if it disappears is rather brittle. Please do test other cases of the active unit disappearing if you have the time to do so :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This only happens when the treasure train is following a goto order. Moving it manually into the colony works without problems. Working on a fix.
This issue has now been fixed in the development version.
Rev https://sourceforge.net/p/freecol/git/ci/69a3bf03aabca90002e87399fd3f7388e1665ac6/
@stiangre
similar message, except with cashing in a fortified treasure train now.
Open the attached savegame. In the dutch colony Venlo are 3 treasure trains .
Try to cash them in.
Last edit: Lone_Wolf 2024-07-27
@lone_wolfsf: Thanks for reporting! The issue has now been fixed in the development version.
This only happened if using the context menu for cashing in the treasure train while the treasure train was the active unit. The code for deselecting the active unit if it disappears is rather brittle. Please do test other cases of the active unit disappearing if you have the time to do so :-)
Disband active unit through icon or shift=D : no warning
scout LCP vanish : keyboard or goto give no warning
Not sure how to test combat disappearance due to losing a battle.
Last edit: Lone_Wolf 2024-07-29
Thanks :-)
Attacking with a damaged artillery does the trick. Confirmed no warning.