forked from VoxeLibre/VoxeLibre
Reduce fire extinguish sound
This commit is contained in:
parent
6d727137c2
commit
768c97205a
|
@ -194,7 +194,7 @@ if mcl_weather.allow_abm then
|
||||||
if mcl_weather.rain.raining and mcl_weather.rain.extinguish_fire then
|
if mcl_weather.rain.raining and mcl_weather.rain.extinguish_fire then
|
||||||
if mcl_weather.is_outdoor(pos) then
|
if mcl_weather.is_outdoor(pos) then
|
||||||
minetest.remove_node(pos)
|
minetest.remove_node(pos)
|
||||||
minetest.sound_play("fire_extinguish_flame", {pos = pos, max_hear_distance = 16, gain = 0.15})
|
minetest.sound_play("fire_extinguish_flame", {pos = pos, max_hear_distance = 8, gain = 0.1})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue