mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user