Set gain to 0.4

This commit is contained in:
PilzAdam 2013-04-10 17:52:45 +03:00
parent d855a3dc00
commit d59ec60058

@ -12,6 +12,7 @@ minetest.register_globalstep(function(dtime)
if object:get_luaentity().itemstring ~= "" then if object:get_luaentity().itemstring ~= "" then
minetest.sound_play("item_drop_pickup", { minetest.sound_play("item_drop_pickup", {
to_player = player:get_player_name(), to_player = player:get_player_name(),
gain = 0.4,
}) })
end end
object:get_luaentity().itemstring = "" object:get_luaentity().itemstring = ""
@ -43,6 +44,7 @@ minetest.register_globalstep(function(dtime)
if object:get_luaentity().itemstring ~= "" then if object:get_luaentity().itemstring ~= "" then
minetest.sound_play("item_drop_pickup", { minetest.sound_play("item_drop_pickup", {
to_player = player:get_player_name(), to_player = player:get_player_name(),
gain = 0.4,
}) })
end end
object:get_luaentity().itemstring = "" object:get_luaentity().itemstring = ""