Bhudh: Сделал так:
game.afteract = function( s, v )
-- чтобы не потерять звука кликов по ссылкам
snd.play('theme/click.ogg')
end
game.oninv = function( s, v )
if v^'needed_obj' then
snd.play('theme/needed_obj_sound.ogg')
else
snd.play('theme/click.ogg')
end
end
Сработало!
Ссылка:
http://instead-games.ru/forum/index.php?p=/discussion/comment/12989/#Comment_12989