Hey, as written in the title when trying to place the second locomotive of a bidirectional train I get this: https://imgur.com/wFLXdXg
I am posting this here since CargoShips hasnt updated in a week and I have not gotten this error with the previous version of this mod. Any help would be appreciated.
Looks like the problem is that I now replace the locomotive in the same event that it is created, instead of the next tick. This is cleaner on my end, but it means Cargo Ships need to handle instantly-deleted entities and script-created entities. I'll submit a pull request to them to fix it.
Unfortunately that problem still persists with exactly the same error.
Edit: apparently the pull request did not get merged right from what I can tell.
Are you sure the update installed correctly? i just tried with the lates version of mutc and ships from the mod portal and it doesn't crash. Try starting a new game with cheats and see if it still happens.