Fixes admin uploaded map templates (#24581)

This commit is contained in:
Cyberboss
2017-03-02 09:12:40 -05:00
committed by AnturK
parent c218c9af74
commit 311ba7b7f0
@@ -35,7 +35,7 @@
usr << "Bad map file: [map]"
return
var/datum/map_template/M = new(map=map, rename="[map]")
var/datum/map_template/M = new(map, "[map]")
if(M.preload_size(map))
usr << "Map template '[map]' ready to place ([M.width]x[M.height])"
SSmapping.map_templates[M.name] = M