Fix away missions taking 2+ minutes to load (#34084)

This commit is contained in:
Tad Hardesty
2018-01-05 03:56:55 -08:00
committed by CitadelStationBot
parent 3266cdfe0c
commit 81cdedea5d

View File

@@ -49,8 +49,8 @@
SSair.setup_template_machinery(atmos_machines)
/datum/map_template/proc/load_new_z()
var/x = round(world.maxx/2)
var/y = round(world.maxy/2)
var/x = round((world.maxx - width)/2)
var/y = round((world.maxy - height)/2)
var/list/bounds = maploader.load_map(file(mappath), x, y)
if(!bounds)