branchrust_reboot/main/train_tracks_not_connecting_fixcancel
3 Commits over 0 Days - Infinitycph!
Fix an old "Cannot set the parent of the GameObject" sound error when disconnecting while on a moving train
Slight cleanup + reformat
Fix for procedural rail lines sometimes not linking up properly at junctions
There was an old bug in train track collation that could miss junctions when splitting up the splines, depending on the iteration order. Likely only became visible recently when we switched to FindObjectsByType with FindObjectsSortMode.None
Tested a known case / seed that had a broken junction after initial map generation but not when loading the map from a file - now works in both scenarios