Skip to content

Commit

Permalink
[MIRROR] Fixes hardsuit modules
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelbassil authored and SuhEugene committed Dec 25, 2023
1 parent 599d182 commit ad61c3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/modules/clothing/spacesuits/rig/modules/utility.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit ad61c3b

Please sign in to comment.