Bwoink fix (#28899)

* Fix incorrect usage of loc string

* Make it so you can no longer ahelp someone who is no longer selected
This commit is contained in:
nikthechampiongr
2024-06-15 11:25:42 +00:00
committed by GitHub
parent 9b8c544191
commit 9dc9e22d13
2 changed files with 2 additions and 2 deletions

View File

@@ -243,9 +243,9 @@ namespace Content.Client.Administration.UI.Bwoink
{ {
UpdateButtons(); UpdateButtons();
AHelpHelper.HideAllPanels();
if (ch != null) if (ch != null)
{ {
AHelpHelper.HideAllPanels();
var panel = AHelpHelper.EnsurePanel(ch.Value); var panel = AHelpHelper.EnsurePanel(ch.Value);
panel.Visible = true; panel.Visible = true;
} }

View File

@@ -18,7 +18,7 @@ namespace Content.Client.Administration.UI.Bwoink
{ {
if (sel is null) if (sel is null)
{ {
Title = Loc.GetString("bwoink-none-selected"); Title = Loc.GetString("bwoink-title-none-selected");
return; return;
} }