From 6a02d8885e78e508b5350bdff8a08753806e3495 Mon Sep 17 00:00:00 2001 From: GreaseMonk <1354802+GreaseMonk@users.noreply.github.com> Date: Tue, 15 Oct 2024 19:15:48 +0200 Subject: [PATCH] Fix a bad (#2242) --- Content.Client/Nyanotrasen/Mail/MailSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Nyanotrasen/Mail/MailSystem.cs b/Content.Client/Nyanotrasen/Mail/MailSystem.cs index 58d593712f4..3d622383c1c 100644 --- a/Content.Client/Nyanotrasen/Mail/MailSystem.cs +++ b/Content.Client/Nyanotrasen/Mail/MailSystem.cs @@ -38,7 +38,7 @@ protected override void OnAppearanceChange(EntityUid uid, MailComponent componen if (args.Sprite == null) return; - if (_appearance.TryGetData(uid, MailVisuals.JobIcon, out string job) || + if (!_appearance.TryGetData(uid, MailVisuals.JobIcon, out string job) || !_prototypeManager.TryIndex(job, out var icon)) return;