Huge optimizations+some fixes

This commit is contained in:
Putnam
2021-01-19 17:48:20 -08:00
parent a6a91347ff
commit f05df1c7de
21 changed files with 128 additions and 75 deletions

View File

@@ -205,3 +205,9 @@
var/turf/oldT = moved_atoms[moved_object]
moved_object.lateShuttleMove(oldT, movement_force, movement_direction)
/obj/docking_port/mobile/proc/reset_air()
var/list/turfs = return_ordered_turfs(x, y, z, dir)
for(var/i in 1 to length(turfs))
var/turf/open/T = turfs[i]
if(istype(T))
T.air.copy_from_turf(T)