[MIRROR] prevent pickup of items we are inside of (#7802)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-02-20 23:48:12 -07:00
committed by GitHub
parent aba18c8c07
commit f3987c9bfe

View File

@@ -191,6 +191,10 @@
if(stat)
return 0
// prevent picking up items while being in them
if(istype(A, /obj/item) && A == loc)
return 0
return 1
/*