Goo Pumps & Oils' Speed Pump (GPOSP)

Goo Pumps & Oils' Speed Pump (GPOSP)

9k Downloads

FIRST BUG!! NRE on Balance

Lisias opened this issue ยท 1 comments

commented

This is the first time I tried GPOSP on a staged craft (oh dumbness!), and I got this when trying to balance it:

[ERR 13:41:42.845] Module GPOSpeedPump threw during OnUpdate: System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: index
  at System.Collections.Generic.List`1[PartResource].get_Item (Int32 index) [0x00000] in <filename unknown>:0
  at DictionaryValueList`2[System.Int32,PartResource].At (Int32 index) [0x00000] in <filename unknown>:0
  at PartResourceList.get_Item (Int32 index) [0x00000] in <filename unknown>:0
  at GPOSpeedPump.GPOSpeedPump.Balance () [0x00000] in <filename unknown>:0
  at GPOSpeedPump.GPOSpeedPump.OnUpdate () [0x00000] in <filename unknown>:0
  at Part.ModulesOnUpdate () [0x00000] in <filename unknown>:0
commented

it was a pretty stupid mistake. bleh. :/

fixed on d8d6e39