add play sound in function
This commit is contained in:
parent
8f10e93bc3
commit
b3a5eca1b5
@ -7,6 +7,9 @@ if rawget(_G, "cmsg") then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
function quests.show_message(...)
|
function quests.show_message(t, playername, text)
|
||||||
|
if (quests.hud[playername].central_message_enabled) then
|
||||||
|
minetest.sound_play("quests_" .. t, {to_player = playername})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user