mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Fixes Runtime in 04_resleeving.dm,32: Cannot read null.ckey
proc name: copy to mob (/datum/category_item/player_setup_item/vore/resleeve/copy_to_mob) And fixes Runtime in infocore.dm,175: code/modules/resleeving/infocore.dm:175:Assertion Failed: !deleted(M) proc name: init from mob (/datum/transhuman/body_record/proc/init_from_mob)
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
/datum/category_item/player_setup_item/vore/resleeve/copy_to_mob(var/mob/living/carbon/human/character)
|
||||
if(character && !istype(character,/mob/living/carbon/human/dummy))
|
||||
spawn(50)
|
||||
if(deleted(character) || deleted(pref))
|
||||
return // They might have been deleted during the wait
|
||||
if(pref.resleeve_scan)
|
||||
var/datum/transhuman/body_record/BR = new() //Clearly related to size.
|
||||
BR.init_from_mob(character, pref.resleeve_scan, pref.resleeve_lock)
|
||||
|
||||
Reference in New Issue
Block a user