mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Fixes map loader incorrectly detecting x size in maps
This commit is contained in:
@@ -64,7 +64,7 @@ var/global/dmm_suite/preloader/_preloader = null
|
||||
var/z_depth = length(zgrid)
|
||||
|
||||
//if exceeding the world max x or y, increase it
|
||||
var/x_depth = length(copytext(zgrid,1,findtext(zgrid,"\n",2,0)))
|
||||
var/x_depth = length(copytext(zgrid,1,findtext(zgrid,"\n",2,0)))/key_len
|
||||
if(world.maxx<x_depth)
|
||||
world.maxx=x_depth
|
||||
|
||||
@@ -338,4 +338,4 @@ var/global/dmm_suite/preloader/_preloader = null
|
||||
/dmm_suite/preloader/proc/load(atom/what)
|
||||
for(var/attribute in attributes)
|
||||
what.vars[attribute] = attributes[attribute]
|
||||
qdel(src)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user