Fix accidental global in furnace

This commit is contained in:
Wuzzy 2020-04-01 08:01:27 +02:00
parent 8b491cdb49
commit e9ca897c50
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ minetest.register_abm({
-- Put result in "dst" list
inv:add_item("dst"..i, cookeds[i].item)
-- take stuff from "src" list
srcstack = inv:get_stack("src"..i, 1)
local srcstack = inv:get_stack("src"..i, 1)
srcstack:take_item()
inv:set_stack("src"..i, 1, srcstack)
else