fixes arm implants breaking the drop key (#65002)

fixes #65001 (Surgical Toolset Implants (possibly integrated toolset implants too?) cause the drop hotkey to stop working properly)

The dropkey signal always gets called, even when the item isnt extended.
Comsig_kb_activated cancels the key from being sent

We were doing our check inside retract, but we always assumed the dropped item was us. bad
This commit is contained in:
Fikou
2022-02-20 04:49:30 +01:00
committed by GitHub
parent c56b1de844
commit 6e2296ea56
2 changed files with 5 additions and 4 deletions

View File

@@ -828,7 +828,7 @@
/obj/item/organ/cyberimp/arm/katana/Retract()
var/obj/item/cursed_katana/katana = active_item
if(!katana || katana.shattered)
return
return FALSE
if(!katana.drew_blood)
to_chat(owner, span_userdanger("[katana] lashes out at you in hunger!"))
playsound(owner, 'sound/magic/demon_attack1.ogg', 50, TRUE)