Minor fixes to telecrystal sharing (#25768)

* Minor fixes

* Mechs
This commit is contained in:
ShiftyRail
2020-01-29 21:47:11 +01:00
committed by GitHub
parent 1d1313ccc4
commit 111dc8f5f5
4 changed files with 9 additions and 7 deletions

View File

@@ -285,8 +285,10 @@
keyslot2 = new /obj/item/device/encryptionkey/ert
..()
/obj/item/device/radio/headset/attackby(obj/item/weapon/W as obj, mob/user as mob)
/obj/item/device/radio/headset/attackby(obj/item/weapon/W, mob/user)
// ..()
if(hidden_uplink && hidden_uplink.active && hidden_uplink.refund(user, W))
return
user.set_machine(src)
if (!( W.is_screwdriver(user) || (istype(W, /obj/item/device/encryptionkey/ ))))
return