Skip to content

Commit

Permalink
The sound effects we care about are now bound to that site
Browse files Browse the repository at this point in the history
  • Loading branch information
KirbyRider1337 authored Jan 18, 2024
1 parent 145a4d8 commit 2b7ac54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/src/battle-sound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const BattleSound = new class {
}

playEffect(url: string) {
this.playSound('https://' + Config.routes.psmain + '/' + url, this.muted ? 0 : this.effectVolume);
this.playSound(url, this.muted ? 0 : this.effectVolume);
}

playSound(url: string, volume: number) {
Expand Down

0 comments on commit 2b7ac54

Please sign in to comment.