mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user