PorktoberRevolution / ReStocked

Kerbal Space Program Art Revamp
99 stars 44 forks source link

Set entryCost to zero on TechHidden parts #920

Closed Wyzard256 closed 3 years ago

Wyzard256 commented 3 years ago

A TechHidden part's entryCost isn't included in the price shown on the tech node's "purchase all parts" button, but clicking the button actually charges the player for hidden parts nonetheless. This is a bug in the game, but it has a simple workaround: set entryCost to zero on parts that have the TechHidden flag. (Squad's deprecated parts do this too.)