Fix bug where space music would play even when on station (#16260)
This commit is contained in:
@@ -130,7 +130,7 @@ public sealed class BackgroundAudioSystem : EntitySystem
|
|||||||
{
|
{
|
||||||
if (_playMan.LocalPlayer is null
|
if (_playMan.LocalPlayer is null
|
||||||
|| _playMan.LocalPlayer.ControlledEntity != message.Entity
|
|| _playMan.LocalPlayer.ControlledEntity != message.Entity
|
||||||
|| !_timing.IsFirstTimePredicted)
|
|| !(_timing.IsFirstTimePredicted || _timing.ApplyingState))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Check if we traversed to grid.
|
// Check if we traversed to grid.
|
||||||
|
|||||||
Reference in New Issue
Block a user