From 6bddcec35f63fa34699cd1ce3a7696afb201e97e Mon Sep 17 00:00:00 2001 From: PowerfulBacon <26465327+PowerfulBacon@users.noreply.github.com> Date: Mon, 2 Sep 2024 18:52:08 +0100 Subject: [PATCH] Prettier Execution --- tgui/packages/tgui-panel/audio/player.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tgui/packages/tgui-panel/audio/player.ts b/tgui/packages/tgui-panel/audio/player.ts index 1b7fe4d595d85..621eb6d1124a5 100644 --- a/tgui/packages/tgui-panel/audio/player.ts +++ b/tgui/packages/tgui-panel/audio/player.ts @@ -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); } }