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

Parts with VARIANTs have wrong mass in catalog #306

Open
lpgagnon opened this issue Mar 6, 2023 · 0 comments
Open

Parts with VARIANTs have wrong mass in catalog #306

lpgagnon opened this issue Mar 6, 2023 · 0 comments

Comments

@lpgagnon
Copy link

lpgagnon commented Mar 6, 2023

Moved from KSPModdingLibs/KSPCommunityFixes#93

When a part is configured to have VARIANTs, the parts catalog only takes the VARIANT's mass into account, not the part's own mass field, resulting in too-low masses being reported. Rest of the game correctly(?) adds them up.

Apparently doesn't happen in stock, so RealFuels is the next suspect in line.

@NathanKell re:

@lpgagnon my hunch is that this is an RF bug, since that's what's most likely to be varying the part's mass also using GetModuleMass so if you're bored it'd be awesome if you could double check. Either way though I've confirmed it's not happening on stock Squad parts with partvariants...

Confirmed bug goes away if I just delete RF from my install, but given how much that's going to break (starting with rp1), probably not very meaningful. Did you have a specific kind of double checking in mind?

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

No branches or pull requests

1 participant