Lua/Progressbar not using value on creation
Posted: Mon Mar 28, 2016 9:11 am
The progressbar gui element doesn't use a supplied value when created.
Console commands to reproduce:
Probably the same cause as viewtopic.php?t=21372
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