PlayerInventory & PlayerInventoryUI: remove group image animation. #34

This commit is contained in:
Van
2026-04-04 16:55:42 +03:00
parent b53753c6a5
commit d5c6101c0f
3 changed files with 3 additions and 10 deletions

View File

@@ -75,13 +75,13 @@ local function getCraftPane(self, playerName, paneType)
craftsListForm:
itemImage(w+0.0625, h+0.0625, 1, 1, output)
else
local k = time%#craft+1
craft = craft[k]
local craft = craft[1]
assert(craft ~= nil)
craftsListForm:
imageButton(w, h, 1.125, 1.125, 'player_inventory_craft_pane_button_background.png', craft.group..'::'..paneType..'::group_button'):
itemImage(w+0.0625, h+0.0625, 1, 1, craft.output)
itemImage(w+0.0625, h+0.0625, 1, 1, craft.output):
image(w, h, 1.125, 1.125, 'player_inventory_craft_pane_group_button_overlay.png')
end
w = w + 1.125