1
0
forked from noxious/client

Added playSound func, use this on attack

This commit is contained in:
2025-02-06 21:00:32 +01:00
parent 122a178feb
commit c2d41a63a7
9 changed files with 22 additions and 10 deletions

View File

@ -47,7 +47,7 @@ addEventListener('click', (event) => {
if (!(event.target instanceof HTMLButtonElement)) {
return
}
const audio = new Audio('/assets/music/click-btn.mp3')
const audio = new Audio('/assets/sounds/click-btn.mp3')
audio.play()
})