This commit is contained in:
Vanessa Dannenberg 2018-06-07 10:22:52 -04:00
parent d6ff137657
commit 8a5bc0e038
1 changed files with 4 additions and 4 deletions

View File

@ -30,8 +30,8 @@ function homedecor.start_particle_spawner(pos, node, particledef, soundname)
end, s_handle)
end
minetest.delete_particlespawner(id)
this_spawner_meta:set_int("active", nil)
this_spawner_meta:set_int("sound", nil)
this_spawner_meta:set_int("active", "")
this_spawner_meta:set_int("sound", "")
return
end
@ -109,6 +109,6 @@ function homedecor.stop_particle_spawner(pos)
end, s_handle)
end
this_spawner_meta:set_int("active", nil)
this_spawner_meta:set_int("sound", nil)
this_spawner_meta:set_int("active", "")
this_spawner_meta:set_int("sound", "")
end