From e576382d790147c7293bf4889aed49b5c21c68a9 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Wed, 22 Sep 2010 22:54:20 +0000 Subject: [PATCH] Manually-constructed AIs should now be properly intelicardable. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@149 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/silicon/ai/ai.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm index b541b48be95..9319b74c29d 100644 --- a/code/modules/mob/living/silicon/ai/ai.dm +++ b/code/modules/mob/living/silicon/ai/ai.dm @@ -20,8 +20,8 @@ src.real_name = "Inactive AI" src.icon_state = "ai-empty" else - if (B.owner.client) - B.owner.client.mob = src + if (B.owner.mind) + B.owner.mind.transfer_to(src) src << "You are playing the station's AI. The AI cannot move, but can interact with many objects while viewing them (through cameras)." src << "To look at other parts of the station, double-click yourself to get a camera menu."