Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to heal Kerbals from expired home-timer #314

Open
mhoram-kerbin opened this issue Sep 16, 2022 · 0 comments · May be fixed by #315
Open

Unable to heal Kerbals from expired home-timer #314

mhoram-kerbin opened this issue Sep 16, 2022 · 0 comments · May be fixed by #315

Comments

@mhoram-kerbin
Copy link
Contributor

mhoram-kerbin commented Sep 16, 2022

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:

BugLsMedBay.mp4

Relevant code:

if (AffectsHomeTimer)
lsKerbal.MaxOffKerbinTime += timePerKerbal;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant