mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 11:38:12 +01:00
- Fixed Issue 829
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4505 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user