Don't bother checking if a node can overheat before cooling it

This commit is contained in:
Carter Kolwey 2016-05-17 14:54:36 -05:00 committed by Jeija
parent f9f7600017
commit acd41b5773

View File

@ -87,10 +87,6 @@ end
mesecon.queue:add_function("cooldown", function (pos) mesecon.queue:add_function("cooldown", function (pos)
if minetest.get_item_group(minetest.get_node(pos).name, "overheat") == 0 then
return -- node has been moved, this one does not use overheating - ignore
end
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
local heat = meta:get_int("heat") local heat = meta:get_int("heat")