Skip to content

Pullrequests/to/upstream/2020 1221#8

Open
Lisias wants to merge 2 commits intodunclaw:masterfrom
net-lisias-ksp:pullrequests/to/upstream/2020-1221
Open

Pullrequests/to/upstream/2020 1221#8
Lisias wants to merge 2 commits intodunclaw:masterfrom
net-lisias-ksp:pullrequests/to/upstream/2020-1221

Conversation

@Lisias
Copy link
Copy Markdown

@Lisias Lisias commented Dec 21, 2020

Hi!

This fixes the Life Cycle of the code used to fix HLEnvelope to run on KSP >= 1.8 .

The OnStart should be executed no matter what, otherwise the Module will be inconsistent and risk a NRE.

And once OnUpdate is inhibited to be called in anything but Editor and Flight, OnFixedUpdate should be too - if the part is not flying neither being edited, there's no need to update the Envelope on every simulation tick, the same way you don't need to animate the envelope on every frame update.

Cheers.

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 this pull request may close these issues.

1 participant