From c45a6df871ca51d72825c98a7662f6294a00d27b Mon Sep 17 00:00:00 2001 From: marco_a <4279489-marco_a@users.noreply.gitlab.com> Date: Fri, 19 Jan 2024 01:47:15 +0100 Subject: [PATCH] Play join sound also to the player who's just joined (closes #15) --- src/api.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api.lua b/src/api.lua index 859a5b9..8703cce 100644 --- a/src/api.lua +++ b/src/api.lua @@ -159,6 +159,7 @@ function parties.join(p_name, inviter) players_in_parties[p_name] = party_leader table.insert(current_parties[party_leader], p_name) + parties.play_sound("parties_join", p_name) minetest.chat_send_player(p_name, add_party_prefix(S("You've joined @1's party", party_leader))) -- eventuali richiami