TG Update: Malf AIs can no longer occupy non-station z-levels.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2702 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2011-12-16 16:31:09 +00:00
committed by Hawk-v3
parent ef93358b40
commit c26bdafc03

View File

@@ -873,6 +873,8 @@
/obj/machinery/power/apc/proc/malfoccupy(var/mob/living/silicon/ai/malf)
if(!istype(malf))
return
if(src.z != 1)
return
src.occupant = new /mob/living/silicon/ai(src,malf.laws,null,1)
src.occupant.adjustOxyLoss(malf.getOxyLoss())
src.occupant.name = "[malf.name] APC Copy"