Inventory code: 0.
Skull: 1.
This commit is contained in:
skull132
2017-07-15 21:54:53 +03:00
committed by GitHub
parent 02a12bcb02
commit 6de4ff99f5
2 changed files with 11 additions and 4 deletions
+6 -4
View File
@@ -167,10 +167,12 @@
if (src.loc == user)
if(!user.prepare_for_slotmove(src))
return
else
if(isliving(src.loc))
return
user.put_in_active_hand(src)
else if(isliving(src.loc))
return
// If equipping onto active hand fails, drop it on the floor.
if (!user.put_in_active_hand(src))
forceMove(user.loc)
return
/obj/item/attack_ai(mob/user as mob)
@@ -0,0 +1,5 @@
author: Skull132
delete-after: true
changes:
- bugfix: "Fixed the bug where your items would vanish if you were to unequip them from personal storage when lying down."