summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.lua b/internal.lua
index 3ea410e..6d7c464 100644
--- a/internal.lua
+++ b/internal.lua
@@ -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)..","