Fix issue 930: The standard module now has working eye-lights.

This is based on a patch created by Aranclanos, http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=10123

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4732 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
CIB123
2012-09-19 22:30:07 +00:00
parent 5979115942
commit 237827d985
2 changed files with 4 additions and 0 deletions

View File

@@ -63,6 +63,7 @@
ident = rand(1, 999)
updatename("Default")
updateicon()
if(!cell)
cell = new /obj/item/weapon/cell(src)
@@ -759,6 +760,9 @@
overlays = null
if(stat == 0)
overlays += "eyes"
if(icon_state == "robot")
overlays = null
overlays += "eyes-standard"
if(icon_state == "toiletbot")
overlays = null
overlays += "eyes-toiletbot"