From 0af225f29a2914662626418cf9a0f45f244d8983 Mon Sep 17 00:00:00 2001 From: Datraen Date: Sun, 29 May 2016 17:12:57 -0400 Subject: [PATCH] Fixes #1795 Prevents the MMI from actually spawning inside of the mannequin, as it is not needed and the mob only exists in nullspace to generate images. This prevents the MMI from calling Life() and generating runtimes, as well as preventing it from adding to the mob lists. --- code/modules/organs/subtypes/machine.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/organs/subtypes/machine.dm b/code/modules/organs/subtypes/machine.dm index 04544035c0..858ab8eddb 100644 --- a/code/modules/organs/subtypes/machine.dm +++ b/code/modules/organs/subtypes/machine.dm @@ -35,6 +35,9 @@ /obj/item/organ/internal/mmi_holder/New(var/mob/living/carbon/human/new_owner, var/internal) ..(new_owner, internal) + var/mob/living/carbon/human/dummy/mannequin/M = new_owner + if(istype(M)) + return if(!stored_mmi) stored_mmi = new(src) sleep(-1)