godarklight / DarkMultiPlayer

DarkMultiPlayer - A multiplayer mod for Kerbal Space Program
MIT License
280 stars 120 forks source link

Resend recovered tourists that haven't yet toured #403

Closed 81ninja closed 7 years ago

81ninja commented 7 years ago

In the previous PR, I added code to not keep tourists around after the vessel they were in was recovered.

I recently noticed that, if you recover a vessel containing tourists without the mission being completed, they won't be updated to the server (remaining Assigned) and, the next time the game is loaded, the tourists will be "gone" (hidden due to not being Available, but not removed from the server either).

Thus, I've included a little tweak to the code to actually resend Tourists whose tours aren't yet complete.