Skip to content

Commit

Permalink
Don't play theme again when new users join
Browse files Browse the repository at this point in the history
  • Loading branch information
Croquetx committed May 9, 2024
1 parent 24d7ec1 commit 32ad42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pawns-Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class AvatarPawn extends mix(Pawn).with(PM_Smoothed, PM_ThreeVisible, PM_
this.listen("goHome", this.goHome);
this.loadTank();
this.listen("didShoot", this.didShoot);
playSound(battleground, null, true, true);
if (this.isMyAvatar) playSound(battleground, null, true, true);
}

loadTank() {
Expand Down

0 comments on commit 32ad42d

Please sign in to comment.