Fixed mobcorpose initialize (#16126)

This commit is contained in:
Fluffy
2023-03-27 17:43:11 +02:00
committed by GitHub
parent 97ccecefef
commit 58e94b6527
2 changed files with 44 additions and 0 deletions

View File

@@ -30,6 +30,9 @@
/obj/effect/landmark/mobcorpse/Initialize()
createCorpse()
initialized = TRUE
return INITIALIZE_HINT_NORMAL
/obj/effect/landmark/mobcorpse/proc/createCorpse() //Creates a mob and checks for gear in each slot before attempting to equip it.
var/mob/living/carbon/human/M = new /mob/living/carbon/human (src.loc)
M.real_name = src.name