Always show ahelp relay message when the relay is enabled (#14931)
This commit is contained in:
@@ -3,7 +3,6 @@ using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
using Robust.Shared.Utility;
|
||||
using Content.Client.Administration.UI.CustomControls;
|
||||
|
||||
namespace Content.Client.Administration.UI.Bwoink
|
||||
{
|
||||
@@ -18,6 +17,13 @@ namespace Content.Client.Administration.UI.Bwoink
|
||||
public BwoinkPanel(Action<string> messageSender)
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
|
||||
var msg = new FormattedMessage();
|
||||
msg.PushColor(Color.LightGray);
|
||||
msg.AddText(Loc.GetString("bwoink-system-messages-being-relayed-to-discord"));
|
||||
msg.Pop();
|
||||
RelayedToDiscordLabel.SetMessage(msg);
|
||||
|
||||
_messageSender = messageSender;
|
||||
|
||||
OnVisibilityChanged += c =>
|
||||
|
||||
Reference in New Issue
Block a user