UmbraSpaceIndustries / USI-LS

USI Life Support
Other
65 stars 47 forks source link

Unable to heal Kerbals from expired home-timer #314

Open mhoram-kerbin opened 1 year ago

mhoram-kerbin commented 1 year ago

I am unable to heal Kerbals, who have an expired home-timer and have become Tourists. The problem is, that the home-timer only grows to a maximum of a few seconds and after a few seconds, the Kerbal reverts back to Tourist status.

I would expect that after Kerbals get healed in MedBay, their home-timer gets larger than just a few seconds, so that they do not need the MedBay continuously.

Reported in Forum.

Savegame: savegame.zip

Video of what is happening to Dooddun Kerman while he is in an activated MedBay:

https://user-images.githubusercontent.com/5959600/190625486-8e4081a8-a3d9-4608-93b9-a741c4efcb1f.mp4

Relevant code: https://github.com/UmbraSpaceIndustries/USI-LS/blob/c842b8587e150875cc563c3aca541d618d5aadbb/Source/USILifeSupport/Converters/USILS_LifeSupportExtenderConverterAddon.cs#L64-L65