diff --git a/Content.Shared/PDA/SharedRingerSystem.cs b/Content.Shared/PDA/SharedRingerSystem.cs index 3841ed56e44..16a79459691 100644 --- a/Content.Shared/PDA/SharedRingerSystem.cs +++ b/Content.Shared/PDA/SharedRingerSystem.cs @@ -56,6 +56,22 @@ public override void Update(float frameTime) if (curTime < ringer.NextNoteTime.Value) continue; + // DeltaV Start - Silicons: Send PDA ringer sound to the player directly + // Check if this ringer is also a player. If so, the sound needs to play to the player itself. + if (HasComp(uid)) + { + if (_net.IsServer) + { + _audio.PlayGlobal( + GetSound(ringer.Ringtone[ringer.NoteCount]), + Filter.Entities(uid), + true, + AudioParams.Default.WithVolume(ringer.Volume) + ); + } + } + else + // DeltaV End - Silicons: Send PDA ringer sound to the player directly // Play the note // We only do this on the server because otherwise the sound either dupes or blends into a mess // There's no easy way to figure out which player started it, so that we can exclude them from the list