Fix handheld radios incoming messages (#11237)

This commit is contained in:
themias
2022-09-12 23:32:07 -04:00
committed by GitHub
parent f9e2a2cacc
commit a308d86bc6
2 changed files with 5 additions and 1 deletions

View File

@@ -25,7 +25,10 @@ namespace Content.Server.Radio.Components
private bool _radioOn;
[DataField("channels", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<RadioChannelPrototype>))]
private HashSet<string> _channels = new();
private HashSet<string> _channels = new()
{
"Common"
};
public int BroadcastFrequency => IoCManager.Resolve<IPrototypeManager>()
.Index<RadioChannelPrototype>(BroadcastChannel).Frequency;