mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +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)
|
if(ATMOS_PASS_NO)
|
||||||
return BLOCKED
|
return BLOCKED
|
||||||
if(ATMOS_PASS_DENSITY)
|
if(ATMOS_PASS_DENSITY)
|
||||||
if(density)
|
if(M.density)
|
||||||
return BLOCKED
|
return BLOCKED
|
||||||
if(ATMOS_PASS_PROC)
|
if(ATMOS_PASS_PROC)
|
||||||
result |= M.c_airblock(other)
|
result |= M.c_airblock(other)
|
||||||
|
|||||||
Reference in New Issue
Block a user