Fix typo causing undeclared global warning

This commit is contained in:
Foz 2016-04-24 19:20:53 -04:00
parent da8361cdf6
commit 1a8ae6543d

View File

@ -139,7 +139,7 @@ minetest.register_abm( {
action = function ( pos, node )
local meta = minetest.get_meta( pos )
local inv = meta:get_inventory()
local cresult, newinput, needed
local result, newinput, needed
if not inv:is_empty( 'src' ) then
-- Check for a valid recipe and sufficient resources to craft it
needed, newinput, result = get_recipe( inv )