This commit is contained in:
biglyderv 2024-11-25 14:14:20 -05:00
parent 2f5c4db818
commit 68f90e71fb

View file

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