Page 1 of 1

[0.17.33] [modded gui] Sprite-buttons don't show numbers

Posted: Thu Apr 25, 2019 6:00 pm
by eduran
Sprite-buttons no longer show numbers under any circumstances if the number is set within the parent.add{...} command. Can be easily verified with the code below:

Code: Select all

/c game.player.gui.center.add{type="sprite-button", sprite = "item/iron-ore", number = 10}
Edit: My initial report is not quite correct. Adding numbers after creation still works:

Code: Select all

/c game.player.gui.center.add{type="sprite-button", sprite = "item/iron-ore", name = "iambuggy", number = 10} -- no number
/c game.player.gui.center.iambuggy.number = 10 -- now the button shows a number

Re: [0.17.33] [modded gui] Sprite-buttons don't show numbers

Posted: Thu Apr 25, 2019 8:42 pm
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.17.

Re: [0.17.33] [modded gui] Sprite-buttons don't show numbers

Posted: Fri Apr 26, 2019 5:40 pm
by eduran
Thanks for the quick fix. Any chance this fix could be responsible for 70012? As far as I can tell from the changelog, this is the only change that touches LTN Tracker.