summaryrefslogtreecommitdiff
path: root/pacmine/gamestate.lua
diff options
context:
space:
mode:
authorFernando Carmona Varo <ferkiwi@gmail.com>2015-11-11 00:28:54 +0100
committerFernando Carmona Varo <ferkiwi@gmail.com>2015-11-11 00:28:54 +0100
commit881e4c1e00e66d54bcf318dd6b4b43d80580fa55 (patch)
tree84463852425cc5648b7a5768f99a19821f50dbcf /pacmine/gamestate.lua
parentc62d9b9a3dfb32dae3377a2fe27c5d1febd7a05a (diff)
Reduced the hear distance of some of the sounds
Diffstat (limited to 'pacmine/gamestate.lua')
-rwxr-xr-xpacmine/gamestate.lua4
1 files changed, 2 insertions, 2 deletions
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