prevent pickup of items we are inside of

This commit is contained in:
Kashargul
2024-02-20 16:36:42 +01:00
committed by GitHub
parent 7c8bb85de3
commit 9619f7a32f
+4
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
/*