mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[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:
@@ -191,6 +191,10 @@
|
|||||||
if(stat)
|
if(stat)
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
// prevent picking up items while being in them
|
||||||
|
if(istype(A, /obj/item) && A == loc)
|
||||||
|
return 0
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user