Chemsmoke Runtime fix (#13907)

This commit is contained in:
Doxxmedearly
2022-05-12 20:24:34 +02:00
committed by GitHub
parent 308a008c72
commit 00f09bfd22
2 changed files with 5 additions and 1 deletions
@@ -51,7 +51,7 @@
/obj/structure/bed/stool/chair/CanPass(atom/movable/mover, turf/target, height, air_group)
if(anchored && padding_material)
if(mover.density && isliving(mover) && (reverse_dir[dir] & angle2dir(Get_Angle(src, mover))))
if(mover?.density && isliving(mover) && (reverse_dir[dir] & angle2dir(Get_Angle(src, mover))))
return FALSE
return ..()