Localize a variable

This commit is contained in:
ShadowNinja 2013-12-18 17:13:54 -05:00
parent 982c58e8b4
commit 881cbe70ce
1 changed files with 1 additions and 1 deletions

View File

@ -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)..","