mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user