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:
Wildkins
2020-12-05 12:23:20 +02:00
committed by GitHub
parent 021230e63f
commit 844f23eba0
4 changed files with 56 additions and 59 deletions
+2
View File
@@ -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))