forked from mtcontrib/homedecor_modpack
		
	fix #2
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user