Merge pull request #539 from Citadel-Station-13/upstream-merge-26445

[MIRROR] Fixes objects being used on backpacks if they don't fit
This commit is contained in:
LetterJay
2017-04-24 18:02:59 -05:00
committed by GitHub
@@ -405,6 +405,9 @@
if(iscyborg(user))
return //Robots can't interact with storage items.
if(contents.len >= storage_slots) //don't use items on the backpack if they don't fit
return 1
if(!can_be_inserted(W, 0 , user))
return 0