Fix smoker fuel not being burned at twice the rate.

This commit is contained in:
cora 2022-05-18 13:30:00 +02:00
parent d10f8944ed
commit 8426e7826a

View File

@ -329,7 +329,7 @@ local function smoker_node_timer(pos, elapsed)
elseif active then elseif active then
el = math.min(el, fuel_totaltime - fuel_time) el = math.min(el, fuel_totaltime - fuel_time)
-- The furnace is currently active and has enough fuel -- The furnace is currently active and has enough fuel
fuel_time = fuel_time + el fuel_time = ( fuel_time + el ) * 2
end end
-- If there is a cookable item then check if it is ready yet -- If there is a cookable item then check if it is ready yet