mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
reset sound gain to 1.0 for now, since larger values don't work anyway.
This commit is contained in:
parent
0a0cf536a3
commit
68950ff4e1
@ -280,7 +280,7 @@ function homedecor_flip_door(pos, node, player, name, side)
|
||||
name="homedecor_door_open",
|
||||
pos=pos,
|
||||
max_hear_distance = 10,
|
||||
gain = 2
|
||||
gain = 1,
|
||||
})
|
||||
else
|
||||
rside = "left"
|
||||
@ -290,7 +290,7 @@ function homedecor_flip_door(pos, node, player, name, side)
|
||||
name="homedecor_door_close",
|
||||
pos=pos,
|
||||
max_hear_distance = 10,
|
||||
gain = 2
|
||||
gain = 1,
|
||||
})
|
||||
end
|
||||
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",
|
||||
pos=pos,
|
||||
max_hear_distance = 10,
|
||||
gain = 2
|
||||
gain = 1,
|
||||
})
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user