Page 1 of 1

Lua/Progressbar not using value on creation

Posted: Mon Mar 28, 2016 9:11 am
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

Re: Lua/Progressbar not using value on creation

Posted: Mon Mar 28, 2016 11:34 am
by posila
What happened to
Choumiko wrote:Everybody stop reporting bugs until 0.13 :twisted:

Re: Lua/Progressbar not using value on creation

Posted: Mon Mar 28, 2016 11:40 am
by Choumiko
Oh, well. Let's "edit" the bug report:
Bugreport wrote: All is fine, nothing to see here :mrgreen:

Re: Lua/Progressbar not using value on creation

Posted: Mon Mar 28, 2016 12:25 pm
by posila
Well, keep them coming ;)
Fixed for next release.