Ports "areas_in_z after start population fix"

This commit is contained in:
Ghommie
2019-06-16 08:45:37 +02:00
parent d5bfe16c78
commit b5e3da68bd
4 changed files with 19 additions and 6 deletions
+6 -1
View File
@@ -495,4 +495,9 @@ GLOBAL_LIST_EMPTY(the_station_areas)
clearing |= used_turfs //used turfs is an associative list, BUT, reserve_turfs() can still handle it. If the code above works properly, this won't even be needed as the turfs would be freed already.
unused_turfs.Cut()
used_turfs.Cut()
reserve_turfs(clearing)
reserve_turfs(clearing)
/datum/controller/subsystem/mapping/proc/reg_in_areas_in_z(list/areas)
for(var/B in areas)
var/area/A = B
A.reg_in_areas_in_z()