Revert "Close storage UI when item becomes inaccessible (#14536)" (#15126)

This reverts commit f54b6904b9.
This commit is contained in:
variableundefined
2020-12-16 17:20:07 -05:00
committed by GitHub
parent 8cb3571a9c
commit f029dd1dfc
7 changed files with 2 additions and 31 deletions
@@ -103,9 +103,6 @@
if(!I.anchored)
I.forceMove(src)
itemcount++
if(istype(I, /obj/item/storage))
var/obj/item/storage/S = I
S.hide_from_all()
for(var/mob/M in loc)
if(itemcount >= storage_capacity)
@@ -81,9 +81,6 @@
continue
O.forceMove(src)
itemcount++
if(istype(O, /obj/item/storage))
var/obj/item/storage/S = O
S.hide_from_all()
icon_state = icon_closed
src.opened = FALSE