Fix fingerprint transfer on weapon attack (#30257)

* Fix fingerprint transfer on weapon attack

* Switch to just not raising the event

* one more
This commit is contained in:
themias
2024-07-30 04:35:30 -04:00
committed by GitHub
parent 517598f72d
commit 648f94f4bb
2 changed files with 5 additions and 5 deletions

View File

@@ -952,7 +952,7 @@ namespace Content.Shared.Interaction
RaiseLocalEvent(target, interactUsingEvent, true);
DoContactInteraction(user, used, interactUsingEvent);
DoContactInteraction(user, target, interactUsingEvent);
DoContactInteraction(used, target, interactUsingEvent);
// Contact interactions are currently only used for forensics, so we don't raise used -> target
if (interactUsingEvent.Handled)
return;
@@ -973,7 +973,7 @@ namespace Content.Shared.Interaction
if (canReach)
{
DoContactInteraction(user, target, afterInteractEvent);
DoContactInteraction(used, target, afterInteractEvent);
// Contact interactions are currently only used for forensics, so we don't raise used -> target
}
if (afterInteractEvent.Handled)
@@ -989,7 +989,7 @@ namespace Content.Shared.Interaction
if (canReach)
{
DoContactInteraction(user, target, afterInteractUsingEvent);
DoContactInteraction(used, target, afterInteractUsingEvent);
// Contact interactions are currently only used for forensics, so we don't raise used -> target
}
}