From 881e4c1e00e66d54bcf318dd6b4b43d80580fa55 Mon Sep 17 00:00:00 2001 From: Fernando Carmona Varo Date: Wed, 11 Nov 2015 00:28:54 +0100 Subject: Reduced the hear distance of some of the sounds --- mario/gamestate.lua | 4 ++-- pacmine/gamestate.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mario/gamestate.lua b/mario/gamestate.lua index 7f6ec61..95583e9 100755 --- a/mario/gamestate.lua +++ b/mario/gamestate.lua @@ -67,7 +67,7 @@ function mario.game_start(pos, player, gamedef) -- Set start positions mario.game_reset(id, player) mario.update_hud(id, player) - minetest.sound_play("mario-game-start", {pos = pos,max_hear_distance = 40,gain = 10.0,}) + minetest.sound_play("mario-game-start", {pos = pos,max_hear_distance = 20,gain = 10.0,}) end -- Finish the game with the given id @@ -205,7 +205,7 @@ function mario.on_player_got_coin(player) -- Set start positions mario.game_reset(gamestate.id, player) - minetest.sound_play("mario-game-start", {pos = pos,max_hear_distance = 40,gain = 10.0,}) + minetest.sound_play("mario-game-start", {pos = pos,max_hear_distance = 20,gain = 10.0,}) end) end diff --git a/pacmine/gamestate.lua b/pacmine/gamestate.lua index 5ba5aab..9524e83 100755 --- a/pacmine/gamestate.lua +++ b/pacmine/gamestate.lua @@ -65,7 +65,7 @@ function pacmine.game_start(pos, player, gamedef) -- Set start positions pacmine.game_reset(id, player) pacmine.update_hud(id, player) - minetest.sound_play("pacmine_beginning", {pos = pos,max_hear_distance = 40,gain = 10.0,}) + minetest.sound_play("pacmine_beginning", {pos = pos,max_hear_distance = 20,gain = 10.0,}) end -- Finish the game with the given id @@ -205,7 +205,7 @@ function pacmine.on_player_got_pellet(player) -- Set start positions pacmine.game_reset(gamestate.id, player) - minetest.sound_play("pacmine_beginning", {pos = pos,max_hear_distance = 40,gain = 10.0,}) + minetest.sound_play("pacmine_beginning", {pos = pos,max_hear_distance = 20,gain = 10.0,}) end) end -- cgit v1.2.3