mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-11-04 14:25:32 +01:00 
			
		
		
		
	reset sound gain to 1.0 for now, since larger values don't work anyway.
This commit is contained in:
		@@ -280,7 +280,7 @@ function homedecor_flip_door(pos, node, player, name, side)
 | 
				
			|||||||
			name="homedecor_door_open",
 | 
								name="homedecor_door_open",
 | 
				
			||||||
			pos=pos,
 | 
								pos=pos,
 | 
				
			||||||
			max_hear_distance = 10,
 | 
								max_hear_distance = 10,
 | 
				
			||||||
			gain = 2
 | 
								gain = 1,
 | 
				
			||||||
		})
 | 
							})
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		rside = "left"
 | 
							rside = "left"
 | 
				
			||||||
@@ -290,7 +290,7 @@ function homedecor_flip_door(pos, node, player, name, side)
 | 
				
			|||||||
			name="homedecor_door_close",
 | 
								name="homedecor_door_close",
 | 
				
			||||||
			pos=pos,
 | 
								pos=pos,
 | 
				
			||||||
			max_hear_distance = 10,
 | 
								max_hear_distance = 10,
 | 
				
			||||||
			gain = 2
 | 
								gain = 1,
 | 
				
			||||||
		})
 | 
							})
 | 
				
			||||||
	end
 | 
						end
 | 
				
			||||||
	minetest.env:add_node({x=pos.x, y=pos.y+1, z=pos.z}, { name =  "homedecor:door_"..name.."_top_"..rside, param2=nfdir})
 | 
						minetest.env:add_node({x=pos.x, y=pos.y+1, z=pos.z}, { name =  "homedecor:door_"..name.."_top_"..rside, param2=nfdir})
 | 
				
			||||||
@@ -310,6 +310,6 @@ function homedecor_flip_gate(pos, node, player, gate, oc)
 | 
				
			|||||||
		name="homedecor_gate_open_close",
 | 
							name="homedecor_gate_open_close",
 | 
				
			||||||
		pos=pos,
 | 
							pos=pos,
 | 
				
			||||||
		max_hear_distance = 10,
 | 
							max_hear_distance = 10,
 | 
				
			||||||
		gain = 2
 | 
							gain = 1,
 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user