mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fix bug in ZAS can_atmos_pass optimization.
Check the *atom's* density, not the turf's!
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user