diff --git a/builtin/game/item.lua b/builtin/game/item.lua index bd7596443..bc42eb0fe 100644 --- a/builtin/game/item.lua +++ b/builtin/game/item.lua @@ -585,12 +585,14 @@ function core.do_item_eat(hp_change, replace_with_item, itemstack, user, pointed if def and def.sound and def.sound.eat then core.sound_play(def.sound.eat, { pos = pos, - max_hear_distance = 16}) + max_hear_distance = 16 + }, true) else core.sound_play("player_eat", { pos = pos, - max_hear_distance = 10, - gain = 0.3}) + max_hear_distance = 16, + gain = 0.3 + }, true) end local dir = user:get_look_dir() diff --git a/builtin/game/item_entity.lua b/builtin/game/item_entity.lua index f7c6d02b3..5a143636b 100644 --- a/builtin/game/item_entity.lua +++ b/builtin/game/item_entity.lua @@ -421,7 +421,7 @@ if collection then max_hear_distance = 10, gain = 0.2, pitch = random(60, 100) / 100 - }) + }, true) entity.itemstring = "" obj:remove() item = inv:add_item("main", item)