From: eoineoineoin Date: Fri, 12 May 2023 22:07:04 +0000 (+0100) Subject: Fix bug where space music would play even when on station (#16260) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=56b2386870f10dba1a12f382376a630af2ae7826;p=space-station-14.git Fix bug where space music would play even when on station (#16260) --- diff --git a/Content.Client/Audio/BackgroundAudioSystem.cs b/Content.Client/Audio/BackgroundAudioSystem.cs index 034ed16665..50639a6d05 100644 --- a/Content.Client/Audio/BackgroundAudioSystem.cs +++ b/Content.Client/Audio/BackgroundAudioSystem.cs @@ -130,7 +130,7 @@ public sealed class BackgroundAudioSystem : EntitySystem { if (_playMan.LocalPlayer is null || _playMan.LocalPlayer.ControlledEntity != message.Entity - || !_timing.IsFirstTimePredicted) + || !(_timing.IsFirstTimePredicted || _timing.ApplyingState)) return; // Check if we traversed to grid.