Merge pull request #11321 from kevinz000/storage_components_are_bad

fixes storage closing while dragging, aka "this one line fix that i procrastinated giving a fuck about for about 9 months now"
This commit is contained in:
Ghom
2020-03-04 14:31:09 +01:00
committed by GitHub

View File

@@ -409,7 +409,7 @@
/datum/component/storage/proc/check_views()
for(var/mob/M in can_see_contents())
if(!isobserver(M) && !M.CanReach(src, view_only = TRUE))
if(!isobserver(M) && !M.CanReach(parent, view_only = TRUE))
close(M)
/datum/component/storage/proc/emp_act(datum/source, severity)