Skip to content

Commit

Permalink
Don't bother checking if a node can overheat before cooling it
Browse files Browse the repository at this point in the history
  • Loading branch information
cheapie authored and Jeija committed Jul 9, 2016
1 parent f9f7600 commit acd41b5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mesecons/services.lua
Expand Up @@ -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")

Expand Down

0 comments on commit acd41b5

Please sign in to comment.