From bca7783f04cbf3004c7616c56a375090f8a78d42 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 23 Jul 2016 17:53:51 +0100 Subject: [PATCH] fixed stamina eat sound --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 767393a..2d68fef 100644 --- a/init.lua +++ b/init.lua @@ -57,7 +57,7 @@ local replace_pie = function(node, puncher, pos) stamina.change(puncher, 4) minetest.sound_play("stamina_eat", { - to_player = name, gain = 0.7, max_hear_distance = 5}) + pos = pos, gain = 0.7, max_hear_distance = 5}) -- none of the above found? add to health instead else