Skip to content

Fix launched vessel not getting tracked when it has more freezer parts than another existing vessel#72

Merged
JPLRepo merged 1 commit into
JPLRepo:masterfrom
Gnurfos:master
Apr 8, 2017
Merged

Fix launched vessel not getting tracked when it has more freezer parts than another existing vessel#72
JPLRepo merged 1 commit into
JPLRepo:masterfrom
Gnurfos:master

Conversation

@Gnurfos
Copy link
Copy Markdown

@Gnurfos Gnurfos commented Mar 19, 2017

Before that: if you have a previous vessel with N freezer parts, any new vessel you launch having more than N parts will not be tracked (freezing its kerbals will lose them).

(Because UpdatePredictedVesselEC is called for previous vessels, but it iterated with the wrong counter (looping on N parts with max index M-1). This leads to an exception, preventing the huge CheckVslUpdate from completing and adding the new vessel).

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.

2 participants