mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Fix crate + table handling (#10712)
changes:
bugfix: "Crates no longer pass through barricades or other objects that allow small objects (PASSTABLE) through."
refactor: "Crates being lifted (and other timed interactions with objects) now stop being lifted if the crate is moved."
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
return !density
|
||||
else
|
||||
return 1
|
||||
if(istype(mover, /obj/structure/closet/crate))
|
||||
return TRUE
|
||||
if(istype(mover) && mover.checkpass(PASSTABLE))
|
||||
return 1
|
||||
if(locate(/obj/structure/table) in get_turf(mover))
|
||||
|
||||
Reference in New Issue
Block a user