mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 18:13:34 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user