Skip to content

Commit

Permalink
Fire: Make explosions remove flames
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lhofhansl authored and paramat committed Jan 15, 2017
1 parent 57eb906 commit 8715b83
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mods/fire/init.lua
Expand Up @@ -44,9 +44,6 @@ minetest.register_node("fire:basic_flame", {
on_construct = function(pos)
minetest.get_node_timer(pos):start(math.random(30, 60))
end,

on_blast = function() -- Unaffected by explosions
end,
})

minetest.register_node("fire:permanent_flame", {
Expand All @@ -72,9 +69,6 @@ minetest.register_node("fire:permanent_flame", {
damage_per_second = 4,
groups = {igniter = 2, dig_immediate = 3},
drop = "",

on_blast = function() -- Unaffected by explosions
end,
})


Expand Down

0 comments on commit 8715b83

Please sign in to comment.