Lua/Progressbar not using value on creation

This subforum contains all the issues which we already resolved.
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Lua/Progressbar not using value on creation

Post by Choumiko »

The progressbar gui element doesn't use a supplied value when created.
Console commands to reproduce:

Code: Select all

/c game.local_player.gui.top.add{name="foo", type="progressbar", size=100, value=1} --creates an empty progressbar
/c game.local_player.gui.top.foo.value = 1 --fills the bar
Probably the same cause as viewtopic.php?t=21372
posila
Factorio Staff
Factorio Staff
Posts: 5371
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Lua/Progressbar not using value on creation

Post by posila »

What happened to
Choumiko wrote:Everybody stop reporting bugs until 0.13 :twisted:
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: Lua/Progressbar not using value on creation

Post by Choumiko »

Oh, well. Let's "edit" the bug report:
Bugreport wrote: All is fine, nothing to see here :mrgreen:
posila
Factorio Staff
Factorio Staff
Posts: 5371
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Lua/Progressbar not using value on creation

Post by posila »

Well, keep them coming ;)
Fixed for next release.
Post Reply

Return to “Resolved Problems and Bugs”