The AI fixer should now properly set an AI's stat to 0 once it has been repaired enough to not die.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@143 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-22 16:38:22 +00:00
parent 4292ea8390
commit 483bd9a421
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -26,10 +26,10 @@
src.fire.icon_state = "fire0"
*/ //TODO: DEFERRED
if (src.health <= -100.0 && !istype(src.loc, /obj/machinery/computer/aifixer))
if (src.health <= -100.0)
death()
return
else if (src.health < 0 && !istype(src.loc, /obj/machinery/computer/aifixer))
else if (src.health < 0)
src.oxyloss++
if (src.machine)