From f1cf32d0b569238219e132318b2cb541693df46c Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Tue, 22 Jun 2021 23:13:48 -0700 Subject: [PATCH] okay, we DO have to check if it's not null --- code/modules/atmospherics/environmental/LINDA_system.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/atmospherics/environmental/LINDA_system.dm b/code/modules/atmospherics/environmental/LINDA_system.dm index e2c6354275..8d063825f1 100644 --- a/code/modules/atmospherics/environmental/LINDA_system.dm +++ b/code/modules/atmospherics/environmental/LINDA_system.dm @@ -47,6 +47,8 @@ var/canvpass = CANVERTICALATMOSPASS(src, src) for(var/direction in GLOB.cardinals_multiz) var/turf/T = get_step_multiz(src, direction) + if(!istype(T)) + continue var/opp_dir = REVERSE_DIR(direction) if(isopenturf(T) && !(blocks_air || T.blocks_air) && ((direction & (UP|DOWN))? (canvpass && CANVERTICALATMOSPASS(T, src)) : (canpass && CANATMOSPASS(T, src))) ) LAZYINITLIST(atmos_adjacent_turfs)