move sounds into dedicated folder

This commit is contained in:
biglyderv 2024-10-05 01:55:21 -04:00
parent 708904715c
commit 0d1925cf83
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954
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;