KSPModdingLibs / KSPCommunityFixes

Community patches for bugs in the KSP codebase
49 stars 17 forks source link

ProtoPartSnapshot mixes up parameters to GetModuleMass #184

Open JonnyOThan opened 7 months ago

JonnyOThan commented 7 months ago

Need to investigate if this actually causes a problem, but might be good to fix this anyway. Not many modules actually use the parameter but fireworks, comets and asteroids do. Haven't scanned modded modules yet.

        moduleCosts = partRef.GetModuleCosts(partRef.partInfo.cost);
        moduleMass = partRef.GetModuleMass(partRef.partInfo.cost);