aboutsummaryrefslogtreecommitdiff
path: root/games/minimal
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-02 15:54:42 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-03 22:31:01 +0300
commit9c3830dd35e7fdf601d83fcd969b67dd3fe189d3 (patch)
tree702fcd8b00ea74dd19f972a561cb63c4ef71c50d /games/minimal
parentbf8cfce50e3f32b84c7fccf470601986d6f7913f (diff)
downloadminetest-9c3830dd35e7fdf601d83fcd969b67dd3fe189d3.tar.gz
minetest-9c3830dd35e7fdf601d83fcd969b67dd3fe189d3.tar.bz2
minetest-9c3830dd35e7fdf601d83fcd969b67dd3fe189d3.zip
Use proper furnace cook time
Diffstat (limited to 'games/minimal')
-rw-r--r--games/minimal/mods/default/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua
index 12d4eb37b..b117befbd 100644
--- a/games/minimal/mods/default/init.lua
+++ b/games/minimal/mods/default/init.lua
@@ -1341,7 +1341,7 @@ minetest.register_abm({
was_active = true
meta:set_float("fuel_time", meta:get_float("fuel_time") + 1)
meta:set_float("src_time", meta:get_float("src_time") + 1)
- if cooked and cooked.item and meta:get_float("src_time") >= 3 then
+ if cooked and cooked.item and meta:get_float("src_time") >= cooked.time then
-- check if there's room for output in "dst" list
if inv:room_for_item("dst",cooked.item) then
-- Put result in "dst" list