[MIRROR] fixes udder gutlunch runtimes [MDB IGNORE] (#8865)

* fixes udder gutlunch runtimes (#62034)

* fixes udder gutlunch runtimes

Co-authored-by: Seris02 <49109742+Seris02@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-10-16 20:34:05 -04:00
committed by GitHub
co-authored by Seris02
parent ce6beb52e2
commit 9546529e4b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
var/datum/callback/on_milk_callback
//udder_type and reagent_produced_typepath are typepaths, not reference
/datum/component/udder/Initialize(udder_type = /obj/item/udder, on_milk_callback, on_generate_callback, reagent_produced_typepath = /datum/reagent/consumable/milk)
/datum/component/udder/Initialize(udder_type = /obj/item/udder, datum/callback/on_milk_callback, datum/callback/on_generate_callback, reagent_produced_typepath = /datum/reagent/consumable/milk)
if(!isliving(parent)) //technically is possible to drop this on carbons... but you wouldn't do that to me, would you?
return COMPONENT_INCOMPATIBLE
udder = new udder_type(null, parent, on_generate_callback, reagent_produced_typepath)