Attempts to add items to a storage container beyond its slots limit will obtain a failure message again.

This commit is contained in:
CitadelStationBot
2017-06-02 06:42:23 -05:00
parent ffd2d6fd0a
commit 6e563e7a53
@@ -405,10 +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))
if(contents.len >= storage_slots) //don't use items on the backpack if they don't fit
return 1
return 0
handle_item_insertion(W, 0 , user)