This commit is contained in:
biglyderv 2024-10-02 04:27:05 -04:00
parent 83e969a6ac
commit 93cba412b0
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954

View file

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