fix the fix ;)

This commit is contained in:
Vanessa Dannenberg 2018-06-07 10:57:19 -04:00
parent 8a5bc0e038
commit 54ce73b616

View File

@ -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", "") this_spawner_meta:set_int("active", 0)
this_spawner_meta:set_int("sound", "") this_spawner_meta:set_int("sound", 0)
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", "") this_spawner_meta:set_int("active", 0)
this_spawner_meta:set_int("sound", "") this_spawner_meta:set_int("sound", 0)
end end