move sounds into dedicated folder
This commit is contained in:
parent
e656ef9dce
commit
d9daef380e
5 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue