Fixes objects being used on backpacks if they don't fit

This commit is contained in:
CitadelStationBot
2017-04-24 17:39:27 -05:00
parent a6f6317b51
commit 3ebf5ab3bc
@@ -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