Fix handheld radios incoming messages (#11237)
This commit is contained in:
@@ -25,7 +25,10 @@ namespace Content.Server.Radio.Components
|
|||||||
|
|
||||||
private bool _radioOn;
|
private bool _radioOn;
|
||||||
[DataField("channels", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<RadioChannelPrototype>))]
|
[DataField("channels", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<RadioChannelPrototype>))]
|
||||||
private HashSet<string> _channels = new();
|
private HashSet<string> _channels = new()
|
||||||
|
{
|
||||||
|
"Common"
|
||||||
|
};
|
||||||
|
|
||||||
public int BroadcastFrequency => IoCManager.Resolve<IPrototypeManager>()
|
public int BroadcastFrequency => IoCManager.Resolve<IPrototypeManager>()
|
||||||
.Index<RadioChannelPrototype>(BroadcastChannel).Frequency;
|
.Index<RadioChannelPrototype>(BroadcastChannel).Frequency;
|
||||||
|
|||||||
@@ -20,3 +20,4 @@
|
|||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Devices/communication.rsi
|
sprite: Objects/Devices/communication.rsi
|
||||||
heldPrefix: walkietalkie
|
heldPrefix: walkietalkie
|
||||||
|
- type: Speech
|
||||||
Reference in New Issue
Block a user