zer0Kerbal/OnDemandFuelCells

[NEW][BUG 1.1.2.1b] ODFC forgets its editor settings when moving to flight

Closed this issue ยท 2 comments

[NEW][BUG 1.1.2.1b] ODFC forgets its editor settings when moving to flight

  • in editor, place a part with ODFC installed
  • change the ODFC to use another available fuel (other than default)
  • launch vessel
  • ODFC reverts to default fuel mode.

Found the problem, Bill left a torque converter, which was set to moar, in the innards. Plus Val thought it would be fun to hide her signature in the code of the FCOS (Fuel Cell Operating System). In doing so, she overwrote the code to remember the editor settings when translating over to flight. This has been fixed by moving her signature into another mod's code. She's still happy.

[KSPField(isPersistant = true, guiActive = true, guiActiveEditor = true, groupName = "ODFC", groupDisplayName = "On Demand Fuel Cells Control", groupStartCollapsed = true)] public int fuelMode = 0;

  • switched isPersistant = false to isPersistant = true

fixed in #47 1.1.2.1