I noticed a tiny cosmetic bug:
If the rocket silo has productivity modules, and the productivity bar is full, then one would expect the percentage to increase. But it doesn't. But when then the normal green bar is full, the percentage goes +2, so the productivity bonus at least got applied. I think it just doesn't graphically update the percentage.
[0.12.26][Twinsen] Rocket silo % not updated if productivity
Re: [0.12.26][Twinsen] Rocket silo % not updated if productivity
Well, this was interesting.
The problem is not what you described, but it was just that the GUI was skipping 53% (it does not matter if you use productivity or not).
Fixed in 0.12.27.
The problem is not what you described, but it was just that the GUI was skipping 53% (it does not matter if you use productivity or not).
Fixed in 0.12.27.
Re: [0.12.26][Twinsen] Rocket silo % not updated if productivity
Ha ha, it was indeed at 53%, awesome 

Re: [0.12.26][Twinsen] Rocket silo % not updated if productivity
Out of sheer curiosity, what was so special about the number 53 that caused it to be skipped ? 

Re: [0.12.26][Twinsen] Rocket silo % not updated if productivity
Rwn wrote:Out of sheer curiosity, what was so special about the number 53 that caused it to be skipped ?
Code: Select all
- this->launchButton.setText(ssprintf("%u%%", uint32_t(rocketSilo->getRocketFinishedFraction() * 100)));
+ this->launchButton.setText(ssprintf("%u%%", uint32_t(rocketSilo->getRocketFinishedFraction() * 100.0f + 0.5f)));