mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Revert "Ports Old Citcode Storage Reach" (#7184)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
//If it isn't on the floor. Do some checks to see if it's in our hands or a box. Otherwise give up.
|
||||
if(istype(I.loc,/obj/item/weapon/storage)) //in a container.
|
||||
var/sdepth = I.storage_depth(user)
|
||||
if (sdepth > MAX_STORAGE_REACH) // CHOMPedit: Storage reach depth.
|
||||
if (sdepth == -1 || sdepth > 1)
|
||||
return //too deeply nested to access
|
||||
|
||||
var/obj/item/weapon/storage/U = I.loc
|
||||
|
||||
Reference in New Issue
Block a user