diff --git a/Content.Client/Administration/UI/Notes/AdminNotesLine.xaml.cs b/Content.Client/Administration/UI/Notes/AdminNotesLine.xaml.cs index 5852653cdb..e70248880b 100644 --- a/Content.Client/Administration/UI/Notes/AdminNotesLine.xaml.cs +++ b/Content.Client/Administration/UI/Notes/AdminNotesLine.xaml.cs @@ -1,11 +1,8 @@ using System.Text; -using Content.Client.Resources; using Content.Shared.Administration.Notes; using Content.Shared.Database; using Robust.Client.AutoGenerated; using Robust.Client.GameObjects; -using Robust.Client.Graphics; -using Robust.Client.ResourceManagement; using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.XAML; @@ -56,7 +53,7 @@ public sealed partial class AdminNotesLine : BoxContainer private void Refresh() { string? iconPath; - if(Note.NoteSeverity is not null) + if (Note.NoteSeverity is not null && !NoteTypeIcons.ContainsKey(Note.NoteType)) SeverityIcons.TryGetValue(Note.NoteSeverity.Value, out iconPath); else NoteTypeIcons.TryGetValue(Note.NoteType, out iconPath);