behone foul runtimes

This commit is contained in:
S34NW
2021-09-11 11:19:37 +01:00
parent f286927c07
commit 3048884b06
@@ -71,7 +71,7 @@ Pipelines + Other Objects -> Pipe network
// Icons/overlays/underlays
/obj/machinery/atmospherics/update_icon()
var/turf/T = get_turf(loc)
if(T.transparent_floor)
if(T && T.transparent_floor)
plane = FLOOR_PLANE
else
if(!T || level == 2 || !T.intact)