From 17ec44fcfb314d1c0b3652d3857bec190fa59e98 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Sun, 5 Sep 2010 22:48:11 +0000 Subject: [PATCH] Fixed an issue with the Intelicard. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@61 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/devices/aicard.dm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/game/objects/devices/aicard.dm b/code/game/objects/devices/aicard.dm index 830a8edbb20..e330da3120f 100644 --- a/code/game/objects/devices/aicard.dm +++ b/code/game/objects/devices/aicard.dm @@ -55,5 +55,8 @@ user << "Transfer succeeded: [O.name] ([rand(1000,9999)].exe) removed from host terminal and stored within local memory." attack(mob/living/silicon/decoy/M as mob, mob/user as mob) - M.death() - user << "ERROR ERROR ERROR" \ No newline at end of file + if (!istype (M, /mob/living/silicon/decoy)) + return ..() + else + M.death() + user << "ERROR ERROR ERROR" \ No newline at end of file