[Rseding91] [0.15.35] Non-rounded numbers in bonus gui after tech reset

This subforum contains all the issues which we already resolved.
Post Reply
Bilka
Factorio Staff
Factorio Staff
Posts: 3129
Joined: Sat Aug 13, 2016 9:20 am
Contact:

[Rseding91] [0.15.35] Non-rounded numbers in bonus gui after tech reset

Post by Bilka »

When unresearching the bonus technologies, some of them display their full floating point number (that isn't quite 0, although they should be exactly 0 ;) ) in the bonus gui, instead of rounding to 0 or not displaying at all.

To reproduce:

1. Start a new sandbox game, let all tech be researched
2. Paste

Code: Select all

/c for _, tech in pairs(game.player.force.technologies) do 
	tech.researched=false
	game.player.force.set_saved_technology_progress(tech, 0)
end
into the console
3. Open bonus gui
4. Tada:
bonus_gui_bug.png
bonus_gui_bug.png (304.33 KiB) Viewed 2251 times
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.15.35] Non-rounded numbers in bonus gui after tech reset

Post by Rseding91 »

Thanks for the report. I've fixed for for 0.16.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”