bugfix 3
This commit is contained in:
parent
83e969a6ac
commit
93cba412b0
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue