ID:158437
 
//This is my turf saving code, i have no problem with this
//part
proc
SaveTurfs()
var/savefile/F = new ("turfs.sav")
var/list/L = new
for(var/turf/build/T in world)
T.saved_x = T.x
T.saved_y = T.y
T.saved_z = T.z
T.saved_o = T.owner
L += T
F[""] << L
//This is the loading part, i get no errors
//here but it doesent load the owner
proc/LoadTurfs()
var/savefile/G = new ("turfs.sav")
var/list/S = new
G[""] >> S
if(!S) return
for(var/turf/build/T in S)
var/turf/build/NewT=new T.type(locate(T.saved_x,T.saved_y,T.saved_z))
NewT.owner=T.saved_o
//Can I please get some help on getting this to load the turfs owner? also the turfs owner is the usr's key
//Also it saves apon world closing and loads during world opening
</<>