diff options
Diffstat (limited to 'homedecor/handlers/water_particles.lua')
-rw-r--r-- | homedecor/handlers/water_particles.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/homedecor/handlers/water_particles.lua b/homedecor/handlers/water_particles.lua index c514e9a..d318d58 100644 --- a/homedecor/handlers/water_particles.lua +++ b/homedecor/handlers/water_particles.lua @@ -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", 0) + this_spawner_meta:set_int("sound", 0) 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", 0) + this_spawner_meta:set_int("sound", 0) end |