fixed stamina eat sound
This commit is contained in:
parent
5b6c4cf2d9
commit
bca7783f04
2
init.lua
2
init.lua
@ -57,7 +57,7 @@ local replace_pie = function(node, puncher, pos)
|
|||||||
stamina.change(puncher, 4)
|
stamina.change(puncher, 4)
|
||||||
|
|
||||||
minetest.sound_play("stamina_eat", {
|
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
|
-- none of the above found? add to health instead
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user