Update radio prefix parsing (#13777)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Server.Radio.EntitySystems;
|
||||
using Content.Shared.Chat;
|
||||
using Content.Shared.Radio;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
|
||||
|
||||
@@ -12,7 +13,7 @@ namespace Content.Server.Radio.Components;
|
||||
public sealed class RadioSpeakerComponent : Component
|
||||
{
|
||||
[DataField("channels", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<RadioChannelPrototype>))]
|
||||
public HashSet<string> Channels = new () { "Common" };
|
||||
public HashSet<string> Channels = new () { SharedChatSystem.CommonChannel };
|
||||
|
||||
[DataField("enabled")]
|
||||
public bool Enabled;
|
||||
|
||||
Reference in New Issue
Block a user