- Fixed Issue 829

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4505 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-21 22:35:35 +00:00
parent e25d7e38bb
commit 01031e0a0b
@@ -125,8 +125,10 @@
if(!slot) return
if(!istype(W)) return
if(W == get_active_hand())
u_equip(W)
if(W == src.l_hand)
src.l_hand = null
else if(W == src.r_hand)
src.r_hand = null
W.loc = src
switch(slot)
@@ -208,6 +210,8 @@
W.equipped(src, slot)
update_inv_s_store(redraw_mob)
if(slot_in_backpack)
if(src.get_active_hand() == W)
src.u_equip(W)
W.loc = src.back
else
src << "\red You are trying to eqip this item to an unsupported inventory slot. How the heck did you manage that? Stop it..."