Borgs lose eye lights when power cell is destroyed or removed. Tested locally, seems to be working.

This commit is contained in:
GarrusVakarian
2014-12-01 21:32:44 +01:00
parent 602edd992a
commit fd4f299046
2 changed files with 2 additions and 2 deletions

View File

@@ -1090,7 +1090,7 @@
/mob/living/silicon/robot/proc/updateicon()
overlays.Cut()
if(stat == 0)
if(stat == 0 && cell != null)
overlays += image(icon,"eyes-[icon_state]",LIGHTING_LAYER+1)
if(opened)