Play join sound also to the player who's just joined (closes #15)

This commit is contained in:
marco_a 2024-01-19 01:47:15 +01:00
parent 265cacb45b
commit c45a6df871

View File

@ -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