Shuttle rotation refactor and significant performance upgrade

This commit is contained in:
Emmett Gaines
2017-10-31 21:23:17 -04:00
committed by CitadelStationBot
parent 31e2303e39
commit a9f07518a7
10 changed files with 208 additions and 128 deletions
@@ -43,7 +43,7 @@
var/turf/T = get_step(src, direction)
if(!T)
continue
if(CANATMOSPASS(T, src))
if( !(blocks_air || T.blocks_air) && CANATMOSPASS(T, src) )
LAZYINITLIST(atmos_adjacent_turfs)
LAZYINITLIST(T.atmos_adjacent_turfs)
atmos_adjacent_turfs[T] = TRUE