-Made the admin "floor is lava" secret to only hurt carbons. Otherwise activating it would kill the AI everytime, since it cannot move.

-Fixed following not working right. Optimized "observe".

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4685 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-09-13 09:29:30 +00:00
parent a23da872ac
commit 0f1940b015
3 changed files with 39 additions and 46 deletions

View File

@@ -2069,7 +2069,7 @@ var/global/floorIsLava = 0
spawn(0)
for(var/i = i, i < length, i++) // 180 = 3 minutes
for(var/mob/living/L in living_mob_list)
for(var/mob/living/carbon/L in living_mob_list)
if(istype(L.loc, /turf/simulated/floor)) // Are they on LAVA?!
var/turf/simulated/floor/F = L.loc
var/safe = 0