Fix: warnings deprecated v12

This commit is contained in:
2024-07-02 23:19:48 +02:00
parent 1725d4c17b
commit 50a86e751d
3 changed files with 5 additions and 4 deletions

View File

@ -15,7 +15,7 @@ export class RdDAudio {
if ( audioData ) {
let audioPath = "systems/foundryvtt-reve-de-dragon/sounds/" + audioData.file;
console.log(`foundryvtt-reve-de-dragon | Playing Sound: ${audioPath}`)
AudioHelper.play({ src: audioPath }, audioData.isGlobal);
foundry.audio.AudioHelper.play({ src: audioPath }, audioData.isGlobal);
}
}
}