Fixes resin stacking & allows lasers to pass through resin (#28842)

* Fixes resin stacking
Lets you shoot through Resin with lasers!

* Small code cleanup

* TRUE
This commit is contained in:
Ergovisavi
2017-06-27 06:29:26 -07:00
committed by Jordan Brown
parent 930b15e625
commit a08aa9e3a2
2 changed files with 8 additions and 0 deletions
@@ -276,6 +276,10 @@
for(var/obj/item/Item in O)
Item.extinguish()
/obj/structure/foamedmetal/resin/CanPass(atom/movable/mover, turf/target, height)
if(istype(mover) && mover.checkpass(PASSGLASS))
return TRUE
. = ..()
#undef ALUMINUM_FOAM
#undef IRON_FOAM