fixes compilation warnings; speeds up roundstart init a bit

This commit is contained in:
duncathan
2016-04-03 22:59:28 -06:00
parent a2a554c48a
commit 7751f41d25
5 changed files with 11 additions and 7 deletions
+5 -2
View File
@@ -179,9 +179,12 @@ var/datum/subsystem/air/SSair
z_start = z_level
z_finish = z_level
var/turf/open/space/S = /turf/open/space
var/list/turfs_to_init = block(locate(1, 1, z_start), locate(world.maxx, world.maxy, z_finish)) - S.space_turfs
var/list/turfs_to_init = block(locate(1, 1, z_start), locate(world.maxx, world.maxy, z_finish)) - space_turfs
for(var/turf/open/space in turfs_to_init)
world << "there's a space turf the -= didn't work dunc"
break
world << "if nothing else showed up then we gucci"
for(var/thing in turfs_to_init)
var/turf/t = thing
t.CalculateAdjacentTurfs()