Page 1 of 1

[2.1.7] Inventory LuaGuiElement glitching when writing to slots_per_row

Posted: Tue Jun 23, 2026 9:39 pm
by Osmo
Create a new world and do the following commands, in order.
When writing a (different) value to slots_per_row, the element flickers for a frame, and then goes back to as it was before.

Code: Select all

/c inv = game.player.gui.screen.add{type = "inventory"}
/c inv.inventory = game.player.get_inventory(1)
/c inv.slots_per_row = 1

Re: [2.1.7] Inventory LuaGuiElement glitching when writing to slots_per_row

Posted: Tue Jun 23, 2026 11:24 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.