move sounds into dedicated folder

This commit is contained in:
biglyderv 2024-11-25 14:14:20 -05:00
parent e656ef9dce
commit d9daef380e
5 changed files with 1 additions and 1 deletions

View file

@ -170,7 +170,7 @@ class Game extends GameBasic {
x.handleTick = type.prototype.handleTick;
if (x.r != 1 && type == Player) {
let a = new Audio(`assets/${emojis[x.r]}.wav`);
let a = new Audio(`sfx/${emojis[x.r]}.wav`);
a.addEventListener('ended', () => {
if (x.you == you) {
that.player.playing = false;