Left something in while conflict-resolving.

Default argument is back to degrees.
This commit is contained in:
Neerti
2018-12-28 04:43:27 -05:00
committed by GitHub
parent 4993c52079
commit dd558395ea
+2 -2
View File
@@ -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)
admin_notice("Loaded: [english_list(pretty_submap_list)]", R_DEBUG)