No echo from handheld radio (#27046)
I found the echo from my own radio very annoying.
This commit is contained in:
@@ -201,6 +201,9 @@ public sealed class RadioDeviceSystem : EntitySystem
|
||||
|
||||
private void OnReceiveRadio(EntityUid uid, RadioSpeakerComponent component, ref RadioReceiveEvent args)
|
||||
{
|
||||
if (uid == args.RadioSource)
|
||||
return;
|
||||
|
||||
var nameEv = new TransformSpeakerNameEvent(args.MessageSource, Name(args.MessageSource));
|
||||
RaiseLocalEvent(args.MessageSource, nameEv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user