mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-12-28 11:40:24 +01:00
Localize a variable
This commit is contained in:
parent
982c58e8b4
commit
881cbe70ce
@ -62,7 +62,7 @@ function unified_inventory.get_formspec(player, page)
|
||||
local item = {}
|
||||
for y = 0, 9 do
|
||||
for x = 0, 7 do
|
||||
name = unified_inventory.filtered_items_list[player_name][list_index]
|
||||
local name = unified_inventory.filtered_items_list[player_name][list_index]
|
||||
if minetest.registered_items[name] then
|
||||
formspec = formspec.."item_image_button["
|
||||
..(8.2 + x * 0.7)..","
|
||||
|
Loading…
Reference in New Issue
Block a user