branchrust_reboot/main/cargo_stuck_fixcancel

2 Commits over 0 Days - ∞cph!

7 Months Ago
Added egress state to debug_cargo_state debug_cargo_status and debug_info no longer need to be called from in-game
7 Months Ago
Two cargo ship movement fixes: -Fix the cargo ship no longer being able to egress if it was saved/loaded while egressing (it's possible this has never worked). It would just keep sailing away forever (and start venturing into NaN positions). -Fix a case where the cargo ship would not be able to rotate to face it's desired waypoint if it spawned facing perfectly away from the waypoint. The cargo ship rotation logic would not work if the ship was facing the completely opposite direction, it now receives a bit of a nudge if this ever happens to ensure it can start to rotate. This would have likely caused newly created cargo ships to rarely get stuck at their spawn point.