mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
prevent pickup of items we are inside of
This commit is contained in:
@@ -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
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user