The drop hotkey is now consistent with the drop verb (#20192)

This commit is contained in:
GDN
2023-01-17 00:17:06 -06:00
committed by GitHub
parent 7af354779a
commit bd1e5e5142
+1 -2
View File
@@ -25,9 +25,8 @@
/datum/keybinding/mob/drop_held_object/down(client/C)
. = ..()
var/obj/item/I = C.mob.get_active_hand()
SEND_SIGNAL(C.mob, COMSIG_MOB_WILLINGLY_DROP)
if(I)
C.mob.drop_item()
C.mob.drop_item_v()
else
to_chat(C, "<span class='warning'>You have nothing to drop in your hand!</span>")