Ludeon Forums

RimWorld => Bugs => Topic started by: arl85 on June 22, 2017, 04:35:47 PM

Title: [A17] pod launcher fuel off by one
Post by: arl85 on June 22, 2017, 04:35:47 PM
Fuel amount displayed is off by one relative to target level set.
sadly I'm unable to reproduce the problem in any other save.

Title: Re: [A17] pod launcher fuel off by one
Post by: ison on September 05, 2017, 12:43:43 PM
Do you still have the savefile? It would be great if you could upload it.
Title: Re: [A17] pod launcher fuel off by one
Post by: asanbr on September 05, 2017, 02:57:19 PM
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?
Title: Re: [A17] pod launcher fuel off by one
Post by: ison on September 06, 2017, 05:05:42 AM
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