Update code/datums/elements/swabbable.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
Qustinnus
2020-08-20 23:37:19 +03:00
committed by Aleksej Komarov
co-authored by Rohesie
parent f340bc4efc
commit 35dddec8ad
+1
View File
@@ -37,6 +37,7 @@ This element is used in vat growing to allow for the object to be
///Ran when the parent is swabbed by an object that can swab that type of obj. The list is sent by ref, which means the thing which sent the signal will still have the updated list.
/datum/element/swabable/proc/GetSwabbed(datum/source, list/mutable_results)
SIGNAL_HANDLER
. = COMPONENT_SWAB_FOUND //Return this so the swabbing component knows hes a good boy and found something that needs swabbing.
LAZYADD(mutable_results, GenerateSample())