Carded AIs no longer lose power when brought into powerless areas.

AIs no longer get bugged to being fully healthy but dead if a living carded AI is stuck into a dead empty core.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@826 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-01-11 18:28:06 +00:00
parent 3814f2bf48
commit e2d4d5029b
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -56,7 +56,7 @@
loc = T.loc
if (istype(loc, /area))
//stage = 4
if (!loc.master.power_equip)
if (!loc.master.power_equip && isturf(src.loc))
//stage = 5
blind = 1
@@ -100,7 +100,7 @@
src.see_in_dark = 0
src.see_invisible = 0
if ((!loc.master.power_equip) || istype(T, /turf/space))
if (((!loc.master.power_equip) || istype(T, /turf/space)) && isturf(src.loc))
if (src:aiRestorePowerRoutine==0)
src:aiRestorePowerRoutine = 1