From 9ce24a55e876dee016e3e6d3891ff661a750a355 Mon Sep 17 00:00:00 2001 From: emmanuelbassil <6874235+emmanuelbassil@users.noreply.github.com> Date: Mon, 25 Dec 2023 15:28:34 +0300 Subject: [PATCH] [MIRROR] Fixes hardsuit modules --- code/modules/clothing/spacesuits/rig/modules/utility.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/clothing/spacesuits/rig/modules/utility.dm b/code/modules/clothing/spacesuits/rig/modules/utility.dm index b7f905bac0c53..dde3b2910e503 100644 --- a/code/modules/clothing/spacesuits/rig/modules/utility.dm +++ b/code/modules/clothing/spacesuits/rig/modules/utility.dm @@ -124,9 +124,8 @@ if(!target.Adjacent(holder.wearer)) return 0 - var/resolved = target.attackby(device,holder.wearer) - if(!resolved && device && target) - device.afterattack(target,holder.wearer,1) + var/mob/user = holder.wearer + device.resolve_attackby(target, user) return 1