From: themias <89101928+themias@users.noreply.github.com> Date: Wed, 30 Apr 2025 19:56:28 +0000 (-0400) Subject: Skeletons leave glove fiber evidence (#37077) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ef10e4eb1c054be612325e3ef3133d97d4720cf6;p=space-station-14.git Skeletons leave glove fiber evidence (#37077) Fix skeleton forensics --- diff --git a/Content.Server/Forensics/Systems/ForensicsSystem.cs b/Content.Server/Forensics/Systems/ForensicsSystem.cs index 2c75cc3b19..ec4683460b 100644 --- a/Content.Server/Forensics/Systems/ForensicsSystem.cs +++ b/Content.Server/Forensics/Systems/ForensicsSystem.cs @@ -19,6 +19,7 @@ using Content.Shared.Weapons.Melee.Events; using Robust.Shared.Random; using Content.Shared.Verbs; using Robust.Shared.Utility; +using Content.Shared.Hands.Components; namespace Content.Server.Forensics { @@ -32,7 +33,7 @@ namespace Content.Server.Forensics public override void Initialize() { - SubscribeLocalEvent(OnInteract); + SubscribeLocalEvent(OnInteract); SubscribeLocalEvent(OnFingerprintInit, after: new[] { typeof(BloodstreamSystem) }); // The solution entities are spawned on MapInit as well, so we have to wait for that to be able to set the DNA in the bloodstream correctly without ResolveSolution failing SubscribeLocalEvent(OnDNAInit, after: new[] { typeof(BloodstreamSystem) }); @@ -60,7 +61,7 @@ namespace Content.Server.Forensics } } - private void OnInteract(EntityUid uid, FingerprintComponent component, ContactInteractionEvent args) + private void OnInteract(EntityUid uid, HandsComponent component, ContactInteractionEvent args) { ApplyEvidence(uid, args.Other); }