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
1 changed files with 0 additions and 4 deletions

View File

@ -87,10 +87,6 @@ end
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 heat = meta:get_int("heat")