summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2013-12-18 17:13:54 -0500
committerShadowNinja <shadowninja@minetest.net>2013-12-18 17:13:54 -0500
commit881cbe70ced1176001d984cdcb454a4f6a86f2b5 (patch)
tree7dc81b941a21fd2e6879bdc037ed0666ceff2e3a
parent982c58e8b45ea8ce0478eca81496258a1c7c88c5 (diff)
Localize a variable
-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)..","