Fixed a run time error caused by a light in wizard lair.

Added a fix for monkey how back layer, now I still don't have to copy/paste the back sprites! YAY FOR LAZY CODER.swf

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1326 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
tronaldnwn@hotmail.com
2011-03-31 19:02:24 +00:00
parent d930bfe06e
commit 1f664ac181
2 changed files with 143 additions and 152 deletions

View File

@@ -377,7 +377,7 @@
if (src.wear_mask)
if (istype(src.wear_mask, /obj/item/clothing/mask))
var/t1 = src.wear_mask.icon_state
src.overlays += image("icon" = 'monkey.dmi', "icon_state" = text("[][]", t1, (!( src.lying ) ? null : "2")), "layer" = MOB_LAYER)
src.overlays += image("icon" = 'monkey.dmi', "icon_state" = text("[][]", t1, (!( src.lying ) ? null : "2")), "layer" = src.layer)
src.wear_mask.screen_loc = ui_mask
if (src.r_hand)
@@ -391,8 +391,8 @@
src.l_hand.screen_loc = ui_lhand
if (src.back)
var/t1 = src.back.icon_state //this will fix the back packs not working. Yay! Now I can delete all those monkey backpack sprites
src.overlays += image("icon" = 'back.dmi', "icon_state" = text("[][]", t1, (!( src.lying ) ? null : "2")), "layer" = MOB_LAYER)
var/t1 = src.back.icon_state //apparently tables make me upset and cause my dreams to shatter
src.overlays += image("icon" = 'back.dmi', "icon_state" = text("[][]", t1, (!( src.lying ) ? null : "2")), "layer" = src.layer)
src.back.screen_loc = ui_back
if (src.handcuffed && src.update_icon)