[A17] pod launcher fuel off by one

Started by arl85, June 22, 2017, 04:35:47 PM

Previous topic - Next topic

arl85

Fuel amount displayed is off by one relative to target level set.
sadly I'm unable to reproduce the problem in any other save.


ison

Do you still have the savefile? It would be great if you could upload it.

asanbr

#2
Are you sure that there is a problem?

When you produce chemfuel you get stacks of 35 normally, so I wouldn't be surprised to have 70 filled in a pod, for any target level higher than 70.

Edit: I think I misunderstood the picture. I see now it displays two different values for target level, is that the actual problem?

ison

#3
QuoteI see now it displays two different values for target level, is that the actual problem?

Yes, the problem is that the inspect pane displays 70/150, but the bottom right window displays 71/150. One uses ToString("F0"), and the other uses Mathf.RoundToInt(), so they should be the same.

// edit: I think this bug is just already fixed in A18, thanks for reporting