Fix away missions taking 2+ minutes to load (#34084)
This commit is contained in:
committed by
CitadelStationBot
parent
3266cdfe0c
commit
81cdedea5d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user