forked from mtcontrib/homedecor_modpack
fix #2
This commit is contained in:
parent
d6ff137657
commit
8a5bc0e038
@ -30,8 +30,8 @@ function homedecor.start_particle_spawner(pos, node, particledef, soundname)
|
|||||||
end, s_handle)
|
end, s_handle)
|
||||||
end
|
end
|
||||||
minetest.delete_particlespawner(id)
|
minetest.delete_particlespawner(id)
|
||||||
this_spawner_meta:set_int("active", nil)
|
this_spawner_meta:set_int("active", "")
|
||||||
this_spawner_meta:set_int("sound", nil)
|
this_spawner_meta:set_int("sound", "")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -109,6 +109,6 @@ function homedecor.stop_particle_spawner(pos)
|
|||||||
end, s_handle)
|
end, s_handle)
|
||||||
end
|
end
|
||||||
|
|
||||||
this_spawner_meta:set_int("active", nil)
|
this_spawner_meta:set_int("active", "")
|
||||||
this_spawner_meta:set_int("sound", nil)
|
this_spawner_meta:set_int("sound", "")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user