From 967ede2da3b4da2989ba9e03d07b80d663c2570e Mon Sep 17 00:00:00 2001 From: KreeperHLC Date: Mon, 16 Oct 2023 22:48:15 +0300 Subject: [PATCH] tweak(air): more accurate zones --- code/controllers/subsystems/air.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystems/air.dm b/code/controllers/subsystems/air.dm index d1552c70d22..3d779514f62 100644 --- a/code/controllers/subsystems/air.dm +++ b/code/controllers/subsystems/air.dm @@ -407,7 +407,9 @@ Total Unsimulated Turfs: [world.maxx*world.maxy*world.maxz - simulated_turf_coun return edge else for(var/connection_edge/unsimulated/edge in A.edges) - if(has_same_air(edge.B,B)) + var/datum/gas_mixture/opponent_air = edge.B.return_air() + var/turf/our_turf = B + if(opponent_air.compare(our_turf.return_air())) return edge var/connection_edge/edge = new /connection_edge/unsimulated(A,B) edges += edge