No echo from handheld radio (#27046)

I found the echo from my own radio very annoying.
This commit is contained in:
SkaldetSkaeg
2024-04-26 14:34:20 +07:00
committed by GitHub
parent 0ae942101a
commit 9378688ffc
3 changed files with 5 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ public sealed class RadioSystem : EntitySystem
NetEntity.Invalid,
null);
var chatMsg = new MsgChatMessage { Message = chat };
var ev = new RadioReceiveEvent(message, messageSource, channel, chatMsg);
var ev = new RadioReceiveEvent(message, messageSource, channel, radioSource, chatMsg);
var sendAttemptEv = new RadioSendAttemptEvent(channel, radioSource);
RaiseLocalEvent(ref sendAttemptEv);