From d80b9335104dadef45ae1cd3bf063bd7b1d49fa5 Mon Sep 17 00:00:00 2001 From: "elly1989@rocketmail.com" Date: Thu, 19 Jul 2012 18:50:55 +0000 Subject: [PATCH] Stat() == 2 was being used instead of stat == DEAD (one being a proc another being a variable to track death. Also deceased was spelled incorrectly. *facepalms* git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4119 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/items/robot_upgrades.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/robot_upgrades.dm b/code/game/objects/items/robot_upgrades.dm index f41fdc46d0c..0be90b6aae4 100644 --- a/code/game/objects/items/robot_upgrades.dm +++ b/code/game/objects/items/robot_upgrades.dm @@ -13,8 +13,8 @@ var/installed = 0 /obj/item/borg/upgrade/proc/action(var/mob/living/silicon/robot/R) - if(R.Stat() == 2) - usr << "/red The [src] will not function on a deseased cyborg." + if(R.stat == DEAD) + usr << "/red The [src] will not function on a deceased cyborg." return 1 return 0