mirror of
https://github.com/minetest-mods/item_drop.git
synced 2024-12-22 22:02:26 +01:00
Set gain to 0.4
This commit is contained in:
parent
d855a3dc00
commit
d59ec60058
2
init.lua
2
init.lua
@ -12,6 +12,7 @@ minetest.register_globalstep(function(dtime)
|
||||
if object:get_luaentity().itemstring ~= "" then
|
||||
minetest.sound_play("item_drop_pickup", {
|
||||
to_player = player:get_player_name(),
|
||||
gain = 0.4,
|
||||
})
|
||||
end
|
||||
object:get_luaentity().itemstring = ""
|
||||
@ -43,6 +44,7 @@ minetest.register_globalstep(function(dtime)
|
||||
if object:get_luaentity().itemstring ~= "" then
|
||||
minetest.sound_play("item_drop_pickup", {
|
||||
to_player = player:get_player_name(),
|
||||
gain = 0.4,
|
||||
})
|
||||
end
|
||||
object:get_luaentity().itemstring = ""
|
||||
|
Loading…
Reference in New Issue
Block a user