From 84c1e6c05f8ee3e4a9632da5dedf25ca977f8ad5 Mon Sep 17 00:00:00 2001 From: raymoo Date: Fri, 20 May 2016 17:48:43 -0700 Subject: [PATCH] Soften ATM sound and limit hear range to nearby --- atm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atm.lua b/atm.lua index 8cd31a7..05844e4 100644 --- a/atm.lua +++ b/atm.lua @@ -251,7 +251,7 @@ minetest.register_node("global_exchange:atm_bottom", { end, groups = {cracky=2, atm = 1}, on_rightclick = function(pos, _, clicker) - minetest.sound_play("atm_beep", {pos = pos}) + minetest.sound_play("atm_beep", {pos = pos, gain = 0.3, max_hear_distance = 5}) minetest.show_formspec(clicker:get_player_name(), atm_form, main_menu) end, })