- fix: Исправлена ошибка, из-за которой борги не могли зачитывать законы в рацию (#48)
This commit is contained in:
@@ -98,7 +98,7 @@
|
|||||||
<Label Text="{Loc 'humanoid-profile-editor-voice-label'}" />
|
<Label Text="{Loc 'humanoid-profile-editor-voice-label'}" />
|
||||||
<Control HorizontalExpand="True"/>
|
<Control HorizontalExpand="True"/>
|
||||||
<OptionButton Name="CVoiceButton" HorizontalAlignment="Right" />
|
<OptionButton Name="CVoiceButton" HorizontalAlignment="Right" />
|
||||||
<Button Name="CVoicePlayButton" Text="{Loc 'humanoid-profile-editor-voice-play'}" MaxWidth="80" />
|
<Button Name="CVoicePlayButton" Text=">" MaxWidth="80" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<!-- Show clothing -->
|
<!-- Show clothing -->
|
||||||
<BoxContainer HorizontalExpand="True">
|
<BoxContainer HorizontalExpand="True">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
using System.Linq;
|
||||||
using Content.Client.Chat.Managers;
|
using Content.Client.Chat.Managers;
|
||||||
using Content.Client.Message;
|
using Content.Client.Message;
|
||||||
using Content.Shared.Chat;
|
using Content.Shared.Chat;
|
||||||
@@ -77,7 +78,7 @@ public sealed partial class LawDisplay : Control
|
|||||||
case SharedChatSystem.CommonChannel:
|
case SharedChatSystem.CommonChannel:
|
||||||
_chatManager.SendMessage($"{SharedChatSystem.RadioCommonPrefix} {lawIdentifier}: {lawDescription}", ChatSelectChannel.Radio); break;
|
_chatManager.SendMessage($"{SharedChatSystem.RadioCommonPrefix} {lawIdentifier}: {lawDescription}", ChatSelectChannel.Radio); break;
|
||||||
default:
|
default:
|
||||||
_chatManager.SendMessage($"{SharedChatSystem.RadioChannelPrefix}{radioChannelProto.KeyCodes} {lawIdentifier}: {lawDescription}", ChatSelectChannel.Radio); break;
|
_chatManager.SendMessage($"{SharedChatSystem.RadioChannelPrefix}{radioChannelProto.KeyCodes.First()} {lawIdentifier}: {lawDescription}", ChatSelectChannel.Radio); break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user