diff --git a/depends.txt b/depends.txt index 70715c7..8f383eb 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1,2 @@ default -fire +fire? diff --git a/init.lua b/init.lua index 2044cb0..4f58a8a 100644 --- a/init.lua +++ b/init.lua @@ -155,7 +155,7 @@ lightning.strike = function(pos) return end -- very rarely, potentially cause a fire - if rng:next(1,1000) == 1 then + if fire and rng:next(1,1000) == 1 then minetest.set_node(pos2, {name = "fire:basic_flame"}) else minetest.set_node(pos2, {name = "lightning:dying_flame"})