Fix furnaces not starting to cook when inserting

This commit is contained in:
Wuzzy 2017-03-09 15:27:01 +01:00
parent 2c16c4db69
commit cb42fbf9bc

View file

@ -169,6 +169,8 @@ local function furnace_node_timer(pos, elapsed)
if srclist[1]:get_name() ~= src_item then if srclist[1]:get_name() ~= src_item then
-- Reset cooking progress in this case -- Reset cooking progress in this case
src_time = 0 src_time = 0
src_item = srclist[1]:get_name()
update = true
-- Check if we have enough fuel to burn -- Check if we have enough fuel to burn
elseif fuel_time < fuel_totaltime then elseif fuel_time < fuel_totaltime then