From 046e50ae80d45b26b3f043b113efde5c4dc88160 Mon Sep 17 00:00:00 2001
From: Wuzzy <almikes@aol.com>
Date: Tue, 21 Mar 2017 06:07:15 +0100
Subject: [PATCH] mcl_torches: Fix undeclared global

---
 mods/ITEMS/mcl_torches/init.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mods/ITEMS/mcl_torches/init.lua b/mods/ITEMS/mcl_torches/init.lua
index 9d9f33fe..5fbe1d35 100644
--- a/mods/ITEMS/mcl_torches/init.lua
+++ b/mods/ITEMS/mcl_torches/init.lua
@@ -111,6 +111,7 @@ mcl_torches.register_torch = function(substring, description, doc_items_longdesc
 				return itemstack
 			end
 
+			local success
 			itemstack, success = minetest.item_place(fakestack, placer, pointed_thing, wdir)
 			itemstack:set_name(itemstring)