Skip to content
Snippets Groups Projects
Commit 8a5bc0e0 authored by Vanessa Dannenberg's avatar Vanessa Dannenberg
Browse files

fix #2

parent d6ff1376
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment