Merge pull request #13439 from Heroman3003/ic-runtime-fix

Fixes runtime with Integrated Circuits shift-ctrl-click
This commit is contained in:
Casey
2022-08-07 15:35:25 -04:00
committed by CHOMPStation2
parent aa75a3b2c0
commit 827b1cf84f

View File

@@ -53,6 +53,8 @@
if(!T.AdjacentQuick(user)) // So people aren't messing with these from across the room
return FALSE
var/obj/item/I = user.get_active_hand() // ctrl-shift-click doesn't give us the item, we have to fetch it
if(!I)
return FALSE
return IC.attackby(I, user)
/obj/item/clothing/attack_self(mob/user)