Fix undeclared global in bonfire

This commit is contained in:
Wuzzy 2020-03-30 23:56:28 +02:00
parent ed7e360ab4
commit 1094f9e97e
1 changed files with 1 additions and 1 deletions

View File

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