diff --git a/code/modules/mapping/map_template.dm b/code/modules/mapping/map_template.dm index 910cc6fe60..dc9bc93547 100644 --- a/code/modules/mapping/map_template.dm +++ b/code/modules/mapping/map_template.dm @@ -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)