Added a zone-based optimization.

This commit is contained in:
Putnam
2021-02-02 17:35:10 -08:00
parent 9785b996ac
commit e1fbb27be5
7 changed files with 11 additions and 19 deletions

View File

@@ -49,13 +49,11 @@
if(!giver)
return FALSE
air.merge(giver)
update_visuals()
return TRUE
/turf/open/remove_air(amount)
var/datum/gas_mixture/ours = return_air()
var/datum/gas_mixture/removed = ours.remove(amount)
update_visuals()
return removed
/turf/open/proc/copy_air_with_tile(turf/open/T)