FractalUK / KSPInterstellar

KSP Instellar Mod for Kerbal Space Program
115 stars 69 forks source link

Correct supply limited Reactor resource return #37

Open ArtForz opened 10 years ago

ArtForz commented 10 years ago

Fixes collector fed AM reactors producing way more power than intended. Amount returned should be based on 1-used/(max*resource_ratio), not 1-used/max. That exposes powerPcnt calculation is off in the exact inverse, so fix that, too.