Step Name Withdraw
Had this error popup before the retreat prompt. It doesn't crash the game and can just be ignored. I can't find any withdraw steps listed any where, so not sure how to go about fixing it.
Is this similar to https://github.com/triplea-game/triplea/issues/9069?
What causes these errors is that the step name calculation is done at the start of the round. This creates a static list of step names that are displayed in the UI. But as the round progresses, sometimes a battle step will occur that wasn't expected during the step name calculation. So, at the beginning of the battle round, withdrawing was not considered to be possible. But it somehow became possible. So the step name calculation needs to be fixed so that it knows the withdraw step is possible.
@trevan ahh...I remember that now. Idk if they're related or not, but the cause in this case is different. The reason the error threw, was because I moved some units in edit into combat as an engine workaround.
When i went to retreat the air units, there was still an edited unit alive and it didn't know where it came from is my guess. I thought maybe I needed a withdraw step up by Purchase, CombatMove etc..