mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 06:32:25 +01:00
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:
parent
57eb906047
commit
8715b83ff0
@ -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", {
|
||||
@ -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,
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user