pellinor0 / TweakScale

Forked from Gaius Goodspeed's Goodspeed Aerospace Part & TweakScale plugin
29 stars 23 forks source link

don't write part.mass #21

Closed pellinor0 closed 8 years ago

pellinor0 commented 8 years ago

and optimize getModuleMass because it is also called in flight now

pellinor0 commented 8 years ago

Optimization is done (https://github.com/pellinor0/TweakScale/commit/7014868ad524dd9e38a8984151c3f2f96c4aa618).

Removing the exponent for part.mass seems to break things (TweakScale seems only built for overloading the global exponents, not for removing them). As long as this does not cause concrete problems I'll call it good enough (any change we do to part.mass will be overwritten by the game in the next frame).