From ca0423ee9cf74a85d361c72c17c90ca298ecd4bd Mon Sep 17 00:00:00 2001 From: Razharas Date: Tue, 7 Jan 2014 11:55:34 +0400 Subject: [PATCH 1/2] Fixes AI being carded when not in the core Yep thats it Fixes #1862 Fixes #2271 --- code/game/machinery/computer/ai_core.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/machinery/computer/ai_core.dm b/code/game/machinery/computer/ai_core.dm index 1f17d21badb..741c2521285 100644 --- a/code/game/machinery/computer/ai_core.dm +++ b/code/game/machinery/computer/ai_core.dm @@ -202,6 +202,9 @@ That prevents a few funky behaviors. switch(choice) if("AICORE")//AI mob. var/mob/living/silicon/ai/T = target + if(!T.mind) + U << "No intellegence patterns detected." //No more magical carding of empty cores, AI RETURN TO BODY!!!11 + return switch(interaction) if("AICARD") var/obj/item/device/aicard/C = src From e468ea24d1a568448ff997ca96b67699472350a6 Mon Sep 17 00:00:00 2001 From: Razharas Date: Tue, 7 Jan 2014 22:01:08 +0400 Subject: [PATCH 2/2] I dont have one so no idea hows it spelled Fuck you grammer --- code/game/machinery/computer/ai_core.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/computer/ai_core.dm b/code/game/machinery/computer/ai_core.dm index 741c2521285..3e5a090df51 100644 --- a/code/game/machinery/computer/ai_core.dm +++ b/code/game/machinery/computer/ai_core.dm @@ -203,7 +203,7 @@ That prevents a few funky behaviors. if("AICORE")//AI mob. var/mob/living/silicon/ai/T = target if(!T.mind) - U << "No intellegence patterns detected." //No more magical carding of empty cores, AI RETURN TO BODY!!!11 + U << "No intelligence patterns detected." //No more magical carding of empty cores, AI RETURN TO BODY!!!11 return switch(interaction) if("AICARD")