mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Buffs arm implants (#19773)
* fuck it signal time * heres a great example of simplifcation! * fuck it sometimes you have to ball, fuck stoplag * fuck yeah baby, mob signals instead * bam good code * add support for drop button * lets not drop nulls * sirryan review
This commit is contained in:
@@ -25,8 +25,9 @@
|
||||
/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(I)
|
||||
C.mob.drop_item()
|
||||
else
|
||||
to_chat(C, "<span class='warning'>You have nothing to drop in your hand!</span>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user