mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 14:47:50 +01:00
[MIRROR] some more grep checks (#11414)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
83133252b1
commit
f46d700e64
@@ -636,7 +636,7 @@
|
||||
if(!owner.changeling_locked && (!owner.resleeve_lock && can_change(owner, APPEARANCE_RACE)))
|
||||
// Create it from the mob
|
||||
if(DC.disk.stored)
|
||||
qdel_null(DC.disk.stored)
|
||||
QDEL_NULL(DC.disk.stored)
|
||||
to_chat(ui.user,span_notice("\The [owner]'s bodyrecord was saved to the disk."))
|
||||
owner.update_dna()
|
||||
DC.disk.stored = new /datum/transhuman/body_record(owner, FALSE, FALSE) // Saves a COPY!
|
||||
@@ -1122,7 +1122,7 @@
|
||||
// checks for monkey to tell if on the menu
|
||||
if(owner)
|
||||
UnregisterSignal(owner, COMSIG_OBSERVER_MOVED)
|
||||
qdel_null(owner)
|
||||
QDEL_NULL(owner)
|
||||
owner = new(src)
|
||||
owner.set_species(SPECIES_LLEILL)
|
||||
owner.species.produceCopy(owner.species.traits.Copy(),owner,null,FALSE)
|
||||
@@ -1134,7 +1134,7 @@
|
||||
/datum/tgui_module/appearance_changer/body_designer/proc/load_record_to_body(var/datum/transhuman/body_record/current_project)
|
||||
if(owner)
|
||||
UnregisterSignal(owner, COMSIG_OBSERVER_MOVED)
|
||||
qdel_null(owner)
|
||||
QDEL_NULL(owner)
|
||||
owner = current_project.produce_human_mob(src,FALSE,FALSE,"Designer [rand(999)]")
|
||||
// Update some specifics from the current record
|
||||
owner.dna.blood_reagents = current_project.mydna.dna.blood_reagents
|
||||
|
||||
Reference in New Issue
Block a user