Revert "Fix handheld radios incoming messages" (#11248)
This commit is contained in:
@@ -25,10 +25,7 @@ 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,4 +20,3 @@
|
|||||||
- 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