Traitor AIs no longer lose their law 0 in the event of power loss.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@10 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-08-28 20:06:21 +00:00
parent e77e0d0c36
commit 44e4cbca05
+3 -1
View File
@@ -95,8 +95,10 @@
if ((!loc.power_equip) || istype(T, /turf/space))
if (src:aiRestorePowerRoutine==0)
src:aiRestorePowerRoutine = 1
src << "You've lost power!"
src.set_zeroth_law("")
if (!checktraitor(src))
src.set_zeroth_law("")
src.clear_supplied_laws()
spawn(50)
while ((src:aiRestorePowerRoutine!=0) && stat!=2)