Skip to content

Commit

Permalink
Prettier Execution
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon committed Sep 2, 2024
1 parent 983d5ac commit 6bddcec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tgui/packages/tgui-panel/audio/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ export class AudioPlayer {
return;
}
if (this.currently_playing !== null) {
this.node.volume = this.volume * this.currently_playing.updateVolume(this.listener.x, this.listener.y, this.listener.z) * ((this.canHearWorld || this.currently_playing.positional_blend === 0) ? 1 : 0);
this.node.volume =
this.volume *
this.currently_playing.updateVolume(this.listener.x, this.listener.y, this.listener.z) *
(this.canHearWorld || this.currently_playing.positional_blend === 0 ? 1 : 0);
}
}

Expand Down

0 comments on commit 6bddcec

Please sign in to comment.