mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
-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:
@@ -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)
|
||||||
Reference in New Issue
Block a user