Fire: Make explosions remove flames

TNT removes flammable nodes from the destruction radius and should
remove flames within it too because they lose their fuel and would
be removed by ABM later anyway.
This commit is contained in:
Lars Hofhansl 2017-01-10 21:35:48 -08:00 committed by paramat
parent 57eb906047
commit 8715b83ff0

View File

@ -44,9 +44,6 @@ minetest.register_node("fire:basic_flame", {
on_construct = function(pos) on_construct = function(pos)
minetest.get_node_timer(pos):start(math.random(30, 60)) minetest.get_node_timer(pos):start(math.random(30, 60))
end, end,
on_blast = function() -- Unaffected by explosions
end,
}) })
minetest.register_node("fire:permanent_flame", { minetest.register_node("fire:permanent_flame", {
@ -72,9 +69,6 @@ minetest.register_node("fire:permanent_flame", {
damage_per_second = 4, damage_per_second = 4,
groups = {igniter = 2, dig_immediate = 3}, groups = {igniter = 2, dig_immediate = 3},
drop = "", drop = "",
on_blast = function() -- Unaffected by explosions
end,
}) })