From dd558395ea1887760a57af5e1a66c4c4520dc2b7 Mon Sep 17 00:00:00 2001 From: Neerti Date: Fri, 28 Dec 2018 04:43:27 -0500 Subject: [PATCH] Left something in while conflict-resolving. Default argument is back to degrees. --- code/modules/maps/tg/map_template.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/maps/tg/map_template.dm b/code/modules/maps/tg/map_template.dm index 2d21d60e5a..77a26b7215 100644 --- a/code/modules/maps/tg/map_template.dm +++ b/code/modules/maps/tg/map_template.dm @@ -24,7 +24,7 @@ if(rename) name = rename -/datum/map_template/proc/preload_size(path, orientation = SOUTH) +/datum/map_template/proc/preload_size(path, orientation = 0) var/bounds = SSmapping.maploader.load_map(file(path), 1, 1, 1, cropMap=FALSE, measureOnly=TRUE, orientation=orientation) if(bounds) width = bounds[MAP_MAXX] // Assumes all templates are rectangular, have a single Z level, and begin at 1,1,1 @@ -280,4 +280,4 @@ admin_notice("Submap loader gave up with [budget] left to spend.", R_DEBUG) else admin_notice("Submaps loaded.", R_DEBUG) - admin_notice("Loaded: [english_list(pretty_submap_list)]", R_DEBUG) \ No newline at end of file + admin_notice("Loaded: [english_list(pretty_submap_list)]", R_DEBUG)