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

Fix a bug in the UpgradesBugs patch where the upgrades field could be null #74

Merged

Conversation

NathanKell
Copy link
Contributor

This is true only for PartModules that are added via code, and only on the prefab itself it appears.

The symptom only occurs on parts with upgrades but that have code-added modules, and only when the substitute part fix is disabled. (I tested against regular KSP, and against RP-1 with both patches enabled, but missed this particular set of cases. Thankfully a user on the RO discord encountered it and I was able to diagnose.)

…tModule could be left null in some cases. This is true only for PartModules that are added via code, and only on the prefab itself it appears.
@NathanKell NathanKell merged commit 3fbc7a6 into KSPModdingLibs:master Aug 6, 2022
@NathanKell NathanKell deleted the fixUpgradesBugsNullUpgrades branch August 6, 2022 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant