From 2d0301c6e44c63bf984dff6db6fb1e2ed3afb641 Mon Sep 17 00:00:00 2001 From: Leshana Date: Thu, 30 Apr 2020 19:25:57 -0400 Subject: [PATCH] Fix bug in ZAS can_atmos_pass optimization. Check the *atom's* density, not the turf's! --- code/ZAS/Atom.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ZAS/Atom.dm b/code/ZAS/Atom.dm index 700eded6d8..b395c4551e 100644 --- a/code/ZAS/Atom.dm +++ b/code/ZAS/Atom.dm @@ -101,7 +101,7 @@ turf/c_airblock(turf/other) if(ATMOS_PASS_NO) return BLOCKED if(ATMOS_PASS_DENSITY) - if(density) + if(M.density) return BLOCKED if(ATMOS_PASS_PROC) result |= M.c_airblock(other)