mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
fixes compilation warnings; speeds up roundstart init a bit
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user