forked from Wuzzy/realtest_mt5
Localize accidental global in smelter mod
This commit is contained in:
parent
806fbf7c93
commit
2764bb9a6e
|
@ -213,7 +213,7 @@ minetest.register_abm({
|
||||||
inv:add_item("dst", cooked.item)
|
inv:add_item("dst", cooked.item)
|
||||||
-- take stuff from "src" list
|
-- take stuff from "src" list
|
||||||
for i=1,4 do
|
for i=1,4 do
|
||||||
srcstack = inv:get_stack("src", i)
|
local srcstack = inv:get_stack("src", i)
|
||||||
if not srcstack:is_empty() then
|
if not srcstack:is_empty() then
|
||||||
minetest.log("verbose", "Removing "..srcstack:get_name())
|
minetest.log("verbose", "Removing "..srcstack:get_name())
|
||||||
srcstack:take_item(1)
|
srcstack:take_item(1)
|
||||||
|
|
Loading…
Reference in New Issue