Telemachus

Telemachus

14.7k Downloads

resourceCurrent[name] does not return any value

tscs37 opened this issue ยท 3 comments

commented

resource[name] appears not to be working. No data is sent back of any resource in current stage
resourceMax[name] works correctly

edit:
Meant r.resourceCurrent[name]

commented

Thanks for the report! I have just tried r.resource[LiquidFuel], r.resource[Oxidizer] and r.resourceMax[Oxidizer] all of which return the correct value. Could you give me the exact API call which you were using please?

I do know that r.resourceCurrent[Oxidizer] has never worked and does need fixing.

commented

Okay i got a typo in here will fix it. (i meant resourceCurrent)
As you said it does not work. Currently I have a workaround by using r.resource[] to determine stage fuel.

commented

Should be fixed by release 1.4.26.0