Update fake_fire/init.lua

Co-authored-by: OgelGames <olliverdc28@gmail.com>
This commit is contained in:
superfloh247 2022-11-18 19:58:14 +01:00 committed by GitHub
parent e7a005e48f
commit cc9edd459d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -343,8 +343,10 @@ minetest.register_lbm({
nodenames = fake_fire_reload_particles_nodes,
run_at_every_load = true,
action = function(pos, node)
stop_smoke(pos)
start_fire_effects(pos, node, nil, 1)
if minetest.get_meta(pos):get_int("smoky") ~= 0 then
stop_smoke(pos)
start_fire_effects(pos, node, nil, 1)
end
end
})