From af15fe7cd31dadc1f4302c26cb8257300be3e873 Mon Sep 17 00:00:00 2001
From: Martell <115596981+martell-gh@users.noreply.github.com>
Date: Wed, 14 Feb 2024 19:52:15 +0300
Subject: [PATCH] =?UTF-8?q?-=20fix:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?=
=?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0?=
=?UTF-8?q?,=20=D0=B8=D0=B7-=D0=B7=D0=B0=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80?=
=?UTF-8?q?=D0=BE=D0=B9=20=D0=B1=D0=BE=D1=80=D0=B3=D0=B8=20=D0=BD=D0=B5=20?=
=?UTF-8?q?=D0=BC=D0=BE=D0=B3=D0=BB=D0=B8=20=D0=B7=D0=B0=D1=87=D0=B8=D1=82?=
=?UTF-8?q?=D1=8B=D0=B2=D0=B0=D1=82=D1=8C=20=D0=B7=D0=B0=D0=BA=D0=BE=D0=BD?=
=?UTF-8?q?=D1=8B=20=D0=B2=20=D1=80=D0=B0=D1=86=D0=B8=D1=8E=20(#48)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Content.Client/Preferences/UI/HumanoidProfileEditor.xaml | 2 +-
Content.Client/Silicons/Laws/Ui/LawDisplay.xaml.cs | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml
index 1347063c5b..fcdb6322f1 100644
--- a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml
+++ b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml
@@ -98,7 +98,7 @@
-
+
diff --git a/Content.Client/Silicons/Laws/Ui/LawDisplay.xaml.cs b/Content.Client/Silicons/Laws/Ui/LawDisplay.xaml.cs
index 018b95567b..faac14436c 100644
--- a/Content.Client/Silicons/Laws/Ui/LawDisplay.xaml.cs
+++ b/Content.Client/Silicons/Laws/Ui/LawDisplay.xaml.cs
@@ -1,3 +1,4 @@
+using System.Linq;
using Content.Client.Chat.Managers;
using Content.Client.Message;
using Content.Shared.Chat;
@@ -77,7 +78,7 @@ public sealed partial class LawDisplay : Control
case SharedChatSystem.CommonChannel:
_chatManager.SendMessage($"{SharedChatSystem.RadioCommonPrefix} {lawIdentifier}: {lawDescription}", ChatSelectChannel.Radio); break;
default:
- _chatManager.SendMessage($"{SharedChatSystem.RadioChannelPrefix}{radioChannelProto.KeyCodes} {lawIdentifier}: {lawDescription}", ChatSelectChannel.Radio); break;
+ _chatManager.SendMessage($"{SharedChatSystem.RadioChannelPrefix}{radioChannelProto.KeyCodes.First()} {lawIdentifier}: {lawDescription}", ChatSelectChannel.Radio); break;
}
};