Skip to content

Commit

Permalink
bugfix: mail icons (#1620)
Browse files Browse the repository at this point in the history
fix: mail icons
  • Loading branch information
portfiend authored Aug 13, 2024
1 parent b06ec26 commit f0112ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Client/Nyanotrasen/Mail/MailSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected override void OnAppearanceChange(EntityUid uid, MailComponent componen
if (string.IsNullOrEmpty(job))
job = "JobIconUnknown";

if (!_prototypeManager.TryIndex<StatusIconPrototype>(job, out var icon))
if (!_prototypeManager.TryIndex<JobIconPrototype>(job, out var icon))
{
args.Sprite.LayerSetTexture(MailVisualLayers.JobStamp, _spriteSystem.Frame0(_prototypeManager.Index("JobIconUnknown")));
return;
Expand Down

0 comments on commit f0112ac

Please sign in to comment.