mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 08:11:11 +01:00
[MIRROR] Food Synthesizers (#12885)
Co-authored-by: Poojawa <Poojawa@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Poojawa
Kashargul
parent
3d332058f5
commit
725fac5bb3
@@ -101,7 +101,7 @@
|
||||
var/aflags
|
||||
var/breath_type = GAS_O2
|
||||
|
||||
/datum/transhuman/body_record/New(copyfrom, add_to_db = 0, ckeylock = 0)
|
||||
/datum/transhuman/body_record/New(copyfrom, add_to_db = FALSE, ckeylock = FALSE)
|
||||
..()
|
||||
if(istype(copyfrom, /datum/transhuman/body_record))
|
||||
init_from_br(copyfrom)
|
||||
@@ -118,7 +118,7 @@
|
||||
..()
|
||||
return QDEL_HINT_HARDDEL // For now at least there is no easy way to clear references to this in GLOB.machines etc.
|
||||
|
||||
/datum/transhuman/body_record/proc/init_from_mob(mob/living/carbon/human/M, add_to_db = 0, ckeylock = 0, database_key)
|
||||
/datum/transhuman/body_record/proc/init_from_mob(mob/living/carbon/human/M, add_to_db = FALSE, ckeylock = FALSE, database_key)
|
||||
ASSERT(!QDELETED(M))
|
||||
ASSERT(istype(M))
|
||||
|
||||
@@ -212,7 +212,6 @@
|
||||
for(var/datum/modifier/mod as anything in M.modifiers)
|
||||
if(mod.flags & MODIFIER_GENETIC)
|
||||
genetic_modifiers.Add(mod.type)
|
||||
|
||||
if(add_to_db)
|
||||
SStranscore.add_body(src, database_key = database_key)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user