catch dropped
This commit is contained in:
@@ -333,7 +333,8 @@
|
||||
I.moveToNullspace()
|
||||
else
|
||||
I.forceMove(newloc)
|
||||
I.dropped(src)
|
||||
if(I.dropped(src) == ITEM_RELOCATED_BY_DROPPED)
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
//Outdated but still in use apparently. This should at least be a human proc.
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
RegisterSignal(I, COMSIG_ITEM_DROPPED, .proc/magnetic_catch)
|
||||
|
||||
/obj/item/organ/cyberimp/arm/proc/magnetic_catch(datum/source, mob/user)
|
||||
. = COMPONENT_DROPPED_RELOCATION
|
||||
var/obj/item/I = source //if someone is misusing the signal, just runtime
|
||||
if(I in items_list)
|
||||
if(I in contents) //already in us somehow? i probably shouldn't catch this so it's easier to spot bugs but eh..
|
||||
|
||||
Reference in New Issue
Block a user