-Issue 835 fixed. I'm not sure what went wrong there.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4599 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-09-01 22:37:02 +00:00
parent 618b4fbf50
commit 1a1900b0ff

View File

@@ -23,10 +23,10 @@
var/obj/item/W = get_active_hand() var/obj/item/W = get_active_hand()
if(W) if(W)
if(!istype(W)) return if(!istype(W)) return
switch(text) switch(slot_id)
// if("o_clothing") // if("o_clothing")
// if("head") // if("head")
if("storage1") if(slot_l_store)
if(l_store) if(l_store)
return return
if(W.w_class > 3) if(W.w_class > 3)
@@ -34,7 +34,7 @@
u_equip(W) u_equip(W)
l_store = W l_store = W
update_inv_pockets() update_inv_pockets()
if("storage2") if(slot_r_store)
if(r_store) if(r_store)
return return
if(W.w_class > 3) if(W.w_class > 3)
@@ -43,12 +43,12 @@
r_store = W r_store = W
update_inv_pockets() update_inv_pockets()
else else
switch(text) switch(slot_id)
if("o_clothing") if(slot_wear_suit)
if(wear_suit) wear_suit.attack_alien(src) if(wear_suit) wear_suit.attack_alien(src)
if("head") if(slot_head)
if(head) head.attack_alien(src) if(head) head.attack_alien(src)
if("storage1") if(slot_l_store)
if(l_store) l_store.attack_alien(src) if(l_store) l_store.attack_alien(src)
if("storage2") if(slot_r_store)
if(r_store) r_store.attack_alien(src) if(r_store) r_store.attack_alien(src)