Good Intercoms (#17950)
* crystal anomaly * Good intercoms * fixes * fix construction fail * Revert "crystal anomaly" This reverts commit 0d9e3f62ff82c79e72f882b9c7f4ca1b9c6e6dd8. * migration
This commit is contained in:
@@ -92,7 +92,7 @@ public sealed class RadioSystem : EntitySystem
|
||||
var sentAtLeastOnce = false;
|
||||
while (canSend && radioQuery.MoveNext(out var receiver, out var radio, out var transform))
|
||||
{
|
||||
if (!radio.Channels.Contains(channel.ID))
|
||||
if (!radio.Channels.Contains(channel.ID) || (TryComp<IntercomComponent>(receiver, out var intercom) && !intercom.SupportedChannels.Contains(channel.ID)))
|
||||
continue;
|
||||
|
||||
if (!channel.LongRange && transform.MapID != sourceMapId && !radio.GlobalReceive)
|
||||
|
||||
Reference in New Issue
Block a user