Skip to content

Commit

Permalink
tweak(air): more accurate zones
Browse files Browse the repository at this point in the history
  • Loading branch information
kreeperHLC authored Oct 17, 2023
1 parent 73a714f commit 6fdd2f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/controllers/subsystems/air.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fdd2f7

Please sign in to comment.